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
Provide node-sqlite3 builds for node-webkit #251
Comments
I am unlikely to get to this without help. A big contribution would be helping to script the creation of binaries for linux on travis. That could be tested before mapbox/node-pre-gyp#14 lands and would help reveal how feasible this would be. Would you be able to do that? Just fork node-sqlite3 and try tweaking the .travis.yml to include a matrix for different node-webkit versions, download the right stuff, build, and run |
It's possible, but not before I learn UN*X shell scripting — I'd have to know how |
Ah, |
Okay, I've read and understood a bit of Apple's “Shell Scripting Primer” and thus I seem to know enough about I've opened a pull request from my fork (#252) but I have yet to learn how The rest seems fine: |
Okay, done. As you have foreseen,
I guess it's better to fail before mapbox/node-pre-gyp#14 is fixed; it needs |
Basically, But before that |
Alternatively it's possible to install the node-webkit-builds module and use it as a source of the latest version number of node-webkit. (Some switch for node-pre-gyp would still be necessary to make it known that a node-webkit's version of some addon is built instead of Node's.) |
On the other hand, a check for I've requested a pull (IndigoUnited/node-webkit-builds#1) to make such a check possible in the future. |
@springmeyer ping |
@Mithgol - thanks for the ping. Just looking over your work and efforts. Amazing job, thank you. Here are some comments:
|
Realizing |
Okay, progress on mapbox/node-pre-gyp#14. think this is basically working with the caveat that |
Wow, I was not aware that
I have to admit I was under a false impression and that made me think Basically, On the other hand, as I should have remembered, it's safer to assume that node-webkit's ABI changes in every version (or at least changes more frequently than the value of |
I've added a couple of commits to #252, but they seem to fail because of mapbox/node-pre-gyp#35. |
Okay, thanks for the details on versioning. I was able to assemble a crosswalk between nw version and node version to be able to look up the modules abi version. But yeah, I guess if that is not enough of a promise for node-WebKit then just using the major.minor.patch might be best. We will see. |
Created mapbox/node-pre-gyp#39 right now. I am also going to create an issue for Windows building&testing&publishing of node-sqlite3 for Node.js and node-webkit. Other then this couple of issues… no major obstacles. Unless I have forgotten something. |
Created #261. |
Since mapbox/node-pre-gyp#39 is closed (≈2 days ago), only #261 remains. |
Thanks. |
After the (low priority) improvement mapbox/node-pre-gyp#14 lands, please consider providing node-sqlite3 pre-built for node-webkit (i.e. built with nw-gyp), at least for Windows where the build tools seem the most huge.
The text was updated successfully, but these errors were encountered: