indutny / gyp.js

Feature-reduced port of GYP to JavaScript
160 stars 17 forks source link

Standalone version with duktape #4

Open indutny opened 8 years ago

indutny commented 8 years ago

In order to bootstrap itself, Node.js will need a standalone version of this repo. Considering that all fs access is done synchronously, it should be possible to compile this module with browserify and babel, and pack it into a single executable using duktape and libuv.

Tough task, but it is worth it!

jbergstroem commented 8 years ago

Perhaps not very helpful in this issue, but removing python as a node.js build time dependency is obviously A Good Thing but seems pretty low priority seeing how build/tooling still use it in a lot of places; some where gyp.js wouldn't be a replacement.

tejasmanohar commented 8 years ago

seeing how build/tooling still use it in a lot of places; some where gyp.js wouldn't be a replacement.

@jbergstroem Good starting place may be linking where gyp.js wouldn't be a replacement?

indutny commented 8 years ago

All node.js related bindings live here now: https://github.com/indutny/gyp.js/blob/master/lib/gyp/bindings.js

bmeck commented 8 years ago

Should we just use https://github.com/creationix/nucleus ? Seems like a quicker route than starting from scratch

indutny commented 8 years ago

@bmeck this is something worth exploring. The only requirement that the build process should be much easier than in node.