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.
@punkusha how can pre-gyp:publish work? How it will build multiple architectures in a single run?
There was a problem hiding this comment.
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.
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)