-
-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supply pre-compiled binaries #12
base: master
Are you sure you want to change the base?
Conversation
b3731bb
to
84daae2
Compare
hi @asfernandes, any ideas on how to fix this?
|
64b4c1d
to
aef6d23
Compare
@punkusha |
@sywka, thx! |
"gyp:configure": "node-pre-gyp configure", | ||
"lint": "tslint --project .", | ||
"pre-gyp:prebuild": "yarn run gyp:clean && node-pre-gyp configure", | ||
"pre-gyp:publish": "yarn run pre-gyp:publish-darwin && yarn run pre-gyp:publish-linux && yarn run pre-gyp:publish-linux-ia32 && yarn run pre-gyp:publish-win32 && yarn run pre-gyp:publish-win32-ia32", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@punkusha how can pre-gyp:publish
work? How it will build multiple architectures in a single run?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node-pre-gyp
doesn't support parallel builds. so, we can publish only 1 binary at once.
node-pre-gyp-github publish --release
publish binary to github release, if github release is already created then update it.
run pre-gyp:publish
to build and publish all the binaries (result: https://github.com/punkusha/node-firebird-drivers/releases/tag/node-firebird-native-api%400.1.1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But that command calls the code to build every arch. How can, for example, when working in Linux the Windows build will work?
resolved #10
note: before publish set NODE_PRE_GYP_GITHUB_TOKEN environment variable (https://github.com/bchr02/node-pre-gyp-github)