Where are node-gyp's [options] documented? -


node-gyp --help says:

usage: node-gyp <command> [options]  <command> 1 of:  - build - invokes `make` , builds module  - clean - removes generated build files , "out" dir  - configure - generates makefile current module  - rebuild - runs "clean", "configure" , "build" @ once  - install - install node development files specified node version.  - list - prints listing of installed node development files  - remove - removes node development files specified version  node-gyp@1.0.2  /usr/local/lib/node_modules/node-gyp node@1.8.1 

but [options] documented? i've picked through various .js source files try figure out , have come nothing.

do [options] pass-thru gyp?

specifically, i'm trying use bindings file not named 'binding.gyp' seems node -> python wrapper sits between node.js , gyp doesn't allow due hard-coding (as best can figure out).

for example: node-gyp configure custom.gyp produces:

<snip> gyp info spawn python gyp info spawn args [ '/usr/local/lib/node_modules/node-gyp/gyp/gyp_main.py', gyp info spawn args   'binding.gyp', <-- not ok gyp info spawn args   'custom.gyp', <-- ok <snip> gyp info spawn args   '-i', gyp info spawn args   '/usr/local/lib/node_modules/node-gyp/custom.gypi', <-- maybe ok? don't being global (race condition here...) <snip> gyp: binding.gyp not found (cwd: <snip>) while trying load binding.gyp gyp err! configure error <-- yes because doesn't exist, want use 'custom.gyp' gyp err! stack error: `gyp` failed exit code: 1 <snip> 

where <snip> represents me deleting irrelevant information.

maybe can around modifying python wrapper itself, there other way? node-gyp --option=x instance?

looks there quite bit of documentation @ node-gyp repo.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -