Skip to content

Commit 03098c7

Browse files
committed
Strip debug information from prebuilts
1 parent 44687eb commit 03098c7

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ deploy:
4646
skip_cleanup: true
4747
# Linking to prebuild directly since it doesn't work inside a npm script.
4848
script:
49-
- node_modules/prebuild/bin.js --all -u $GH_TOKEN
49+
- node_modules/prebuild/bin.js --all --strip -u $GH_TOKEN
5050
on:
5151
condition: "$DEPLOY = true"
5252
tags: true

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test_script:
2525
- IF DEFINED ELECTRON (appveyor-retry call npm run test:electron) ELSE (appveyor-retry call npm test)
2626

2727
deploy_script:
28-
- IF "%deploy%;%appveyor_repo_tag%"=="true;true" (node_modules\.bin\prebuild --all -u %GITHUB_TOKEN%)
28+
- IF "%deploy%;%appveyor_repo_tag%"=="true;true" (node_modules\.bin\prebuild --all --strip -u %GITHUB_TOKEN%)
2929

3030
notifications:
3131
- provider: Slack

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"build:libzmq": "node scripts/download-win-lib.js && ./build_libzmq.sh",
2828
"install": "prebuild --install --preinstall \"npm run build:libzmq\"",
2929
"rebuild": "prebuild --compile",
30+
"prebuild": "prebuild --all --strip",
3031
"build:docs": "jsdoc -R README.md -d docs lib/*.js",
3132
"test": "mocha --expose-gc --slow 300",
3233
"test:electron": "electron-mocha --slow 300",

0 commit comments

Comments
 (0)