TooTallNate/node-gyp — Issue #9: Add 'configure', 'build' and 'clean' hooks.
Author: TooTallNate
Created: 2012-02-07 02:59:28+00:00
State: open

For more complex module build systems, like `node-ffi`, where the bundled libffi also needs to be configured and built, there should be hooks into the build steps for modules. The hooks should be node JavaScript files and will need to manually take care of platform differences in their scripts.

I'm thinking that these should be hard-coded script names (i.e. `gyp-configure.js`, `gyp-build.js`, and `gyp-clean.js`) which would be run if they exist, before the rest of the step.