node-gyp rebuild: rm -j with num-cpus eval'd from shell (breaks Windows)
This commit is contained in:
parent
ce48db78f8
commit
4ee529153c
1 changed files with 2 additions and 1 deletions
|
|
@ -6,7 +6,8 @@
|
|||
"scripts": {
|
||||
"install": "npm run build-srt && npm run rebuild",
|
||||
"build-srt": "node scripts/build-srt-sdk.js",
|
||||
"rebuild": "node-gyp rebuild -j $(echo \"console.log(require('os').cpus().length)\" | node)",
|
||||
"rebuild": "node-gyp rebuild",
|
||||
"rebuild-jn": "node-gyp rebuild -j $(echo \"console.log(require('os').cpus().length)\" | node)",
|
||||
"clean": "node-gyp clean",
|
||||
"test": "jasmine",
|
||||
"test-jest": "jest --runInBand --detectOpenHandles",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue