Skip to content

Commit 71de6e2

Browse files
committed
windows build
1 parent 0456c39 commit 71de6e2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/xtracfg.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ jobs:
169169
CMD_GIT_BRANCH: github.com/interactive-instruments/xtraplatform-cli/xtracfg/cmd.gitBranch=${{ github.ref_name }}
170170
CMD_GIT_SHA: github.com/interactive-instruments/xtraplatform-cli/xtracfg/cmd.gitSha=${{ steps.short-sha.outputs.substring }}
171171
CMD_GIT_TAG: github.com/interactive-instruments/xtraplatform-cli/xtracfg/cmd.gitTag=${{ github.ref_type == 'tag' && github.ref_name || '' }}
172-
EXT_LDFLAGS: ${{ matrix.os.type == 'macos' && '-framework CoreServices -framework Foundation' || '-z noexecstack' }}
172+
EXT_LDFLAGS: ${{ (matrix.os.type == 'macos' && '-framework CoreServices -framework Foundation') || (matrix.os.type == 'linux' && '-z noexecstack') || '' }}
173173
run: |
174174
go build -o build/xtracfg -ldflags="-s -w -X ${CMD_GIT_TAG} -X ${CMD_GIT_SHA} -X ${CMD_GIT_BRANCH} '-extldflags=${EXT_LDFLAGS}'"
175175
- name: log1

libxtracfg/js/xtracfg-native-binding/test/test_binding.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
const xtracfgLib = require("../index.js");
2+
const currentDir = __dirname;
23

34
function testBasic() {
4-
const command =
5-
'{"command": "info", "source": "/Users/az/development/configs-ldproxy/demogh", "verbose": "true", "debug": "true"}';
5+
const command = `{"command": "info", "source": "${currentDir}", "verbose": "true", "debug": "true"}`;
66

77
const result = xtracfgLib.execute(command);
88

0 commit comments

Comments
 (0)