Skip to content

Commit

Permalink
Add musl libc option for prebuilding on linux
Browse files Browse the repository at this point in the history
Useful for alpine linux, and other distros using musl
  • Loading branch information
dhritzkiv committed Oct 11, 2019
1 parent 7b02a36 commit 1b469d2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/after_success.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@ PACKAGE_JSON_VERSION=$(node -e "console.log(require('./package.json').version)")
if [[ ${COMMIT_MESSAGE} == ${PACKAGE_JSON_VERSION} ]]; then
echo "running prebuild"
node ./node_modules/prebuild/bin.js -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 --strip -u ${GITHUB_TOKEN}

if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then
node ./node_modules/prebuild/bin.js --libc=musl -t 8.0.0 -t 9.0.0 -t 10.0.0 -t 11.0.0 -t 12.0.0 --strip -u ${GITHUB_TOKEN}
fi
fi

0 comments on commit 1b469d2

Please sign in to comment.