josephg / node-foundationdb

Modern Node.js FoundationDB bindings
Other
116 stars 17 forks source link

Prebuildify the binary module #14

Closed josephg closed 6 years ago

josephg commented 6 years ago

We should use prebuildify https://github.com/mafintosh/prebuildify to statically compile a version of the library for each platform on which it runs. We can use prebuildify-ci to compile built artifacts for each system before publishing the module.

We should also consider bundling copies of libfdb_c for each platform, but thats a ~5mb file. I'm not sure the best way to bundle that.

josephg commented 6 years ago

This is working and landed in 0.4.3, with the exception of windows prebuilds, which are stalled on this issue.

Re: libfdb_c, discussion here.

josephg commented 6 years ago

Prebuilds are setup and working for linux / mac / windows in foundationdb@0.4.4