Skip to content

Commit 21df0a9

Browse files
committed
Disable x86 binaries for now
1 parent b6fe85c commit 21df0a9

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

scripts/build.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
const execSync = require("child_process").execSync;
22

3-
const tag = process.env.TRAVIS_TAG || `v${process.env.npm_package_version}`
4-
const platforms = ["win-x64", "win-x86", "linux-x64", "linux-x86", "macos"];
3+
const tag = process.env.TRAVIS_TAG || `v${process.env.npm_package_version}`;
4+
const platforms = [
5+
"win-x64",
6+
// "win-x86", // pending https://github.com/zeit/pkg/issues/310
7+
"linux-x64",
8+
// "linux-x86", // pending https://github.com/zeit/pkg/issues/310
9+
"macos"
10+
];
511

612
platforms.forEach(platform => {
713
console.log(`\nBuilding binary for ${platform}...`);
8-
914
execSync(
1015
`pkg ./bin/react-stdio -t ${platform} -o ./build/${tag}/${platform}/react-stdio`,
1116
{ stdio: "inherit" }

0 commit comments

Comments
 (0)