Skip to content
This repository was archived by the owner on Feb 17, 2023. It is now read-only.

Conversation

@hokiedsp
Copy link

This PR adds

argparse.env('npm_config_');

to grab the npm config env variables. This feature mimics node-gyp's (implemented around Line 150 in lib/node-gyp.js), and has been tested with electron runtime setup:

https://electronjs.org/docs/tutorial/using-native-node-modules

A couple other related changes:

  • dist-url/disturl alias is added
  • double quotes around the values of NODEJS_URL and NODEJS_NAME are removed as the quotation marks remain in the defined strings in CMake.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant