Skip to content

Commit 0ad7aeb

Browse files
committed
Support only x64 binaries
node's pkg library only support x64 binaries.
1 parent 304dee2 commit 0ad7aeb

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

build-binaries

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ try {
99
// ignore
1010
}
1111

12-
execSync("mkdir -p binaries");
13-
execSync("yarn pkg -t node10-linux-x86,node10-linux-x64,node10-macos-x64,node10-windows-x86,node10-windows-x64 --out-path binaries/ package.json");
14-
12+
execSync("yarn pkg -t node12-linux-x64,node12-macos-x64,node12-win-x64 --out-path binaries/ package.json");
13+
console.log("Build done");
1514

1615
const files = [
17-
"codechain-keystore-cli-linux-x64",
18-
"codechain-keystore-cli-linux-x86",
19-
"codechain-keystore-cli-macos-x64",
20-
"codechain-keystore-cli-win-x64.exe",
21-
"codechain-keystore-cli-win-x86.exe"
16+
"codechain-keystore-cli-linux",
17+
"codechain-keystore-cli-macos",
18+
"codechain-keystore-cli-win.exe"
2219
];
2320

2421
process.chdir("binaries");

0 commit comments

Comments
 (0)