Skip to content

Commit

Permalink
Build everything in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
thevolcanomanishere committed Oct 21, 2022
1 parent 59d2a86 commit bd2de1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,17 @@
"pkg": "^5.8.0"
},
"pkg": {
"assets": "node_modules"
"assets": [
"node_modules/sodium-native",
"node_modules/udx-native"
]
},
"scripts": {
"buildMacArm": "pkg -t node16-macos-arm64 server.js -c package.json -d --compress Brotli -o './build/folder-beam-mac-arm64'",
"buildMacX64": "pkg -t node16-macos-x64 server.js -c package.json -d --compress Brotli -o './build/folder-beam-mac-x64'",
"buildLinuxArm": "pkg -t node16-linux-arm64 server.js -c package.json -d --compress Brotli -o './build/folder-beam-linux-arm64'",
"buildLinuxX64": "pkg -t node16-linux-x64 server.js -c package.json -d --compress Brotli -o './build/folder-beam-linux-x64'",
"buildWindowsX64": "pkg -t node16-win-x64 server.js -c package.json -d --compress Brotli -o './build/folder-beam-windows-x64.exe'",
"buildAll": "yarn buildMacArm && yarn buildMacX64 && yarn buildLinuxArm && yarn buildLinuxX64 && yarn buildWindowsX64"
"buildAll": "yarn buildMacArm & yarn buildMacX64 & yarn buildLinuxArm & yarn buildLinuxX64 & yarn buildWindowsX64"
}
}

0 comments on commit bd2de1e

Please sign in to comment.