Skip to content

Commit c7c0bf9

Browse files
committed
Rename prebuild script
1 parent 9d20c68 commit c7c0bf9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
run: npm ci
2727

2828
- name: Copy prebuild artifacts
29-
run: node scripts/copy-prebuilds.js --populate
29+
run: node scripts/prebuild.js --populate
3030

3131
- uses: actions/upload-artifact@v4
3232
with:

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"build": "tsc -b ./src/tsconfig.json",
3939
"watch": "tsc -b -w ./src/tsconfig.json",
4040
"lint": "eslint -c .eslintrc.js --ext .ts src/",
41-
"install": "node ./scripts/copy-prebuilds.js || node-gyp rebuild",
41+
"install": "node ./scripts/prebuild.js || node-gyp rebuild",
4242
"postinstall": "node ./scripts/post-install.js",
4343
"test": "cross-env NODE_ENV=test mocha -R spec --exit lib/*.test.js",
4444
"posttest": "npm run lint",
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ const path = require('path');
1212
* Usage:
1313
* To copy binaries from prebuilds/<platform>-<arch> to the build/Release:
1414
*
15-
* node scripts/copy-prebuilds.js
15+
* node scripts/prebuild.js
1616
*
1717
* To copy the binaries from the build/Release directory to the prebuilds dir:
1818
*
19-
* node scripts/copy-prebuilds.js --populate
19+
* node scripts/prebuild.js --populate
2020
*/
2121

2222
const POPULATE = process.argv.includes('--populate');

0 commit comments

Comments
 (0)