Skip to content

Instantly share code, notes, and snippets.

@isaacs
Created March 14, 2012 00:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacs/2032938 to your computer and use it in GitHub Desktop.
Save isaacs/2032938 to your computer and use it in GitHub Desktop.
> JSON.parse(fs.readFileSync('config.gypi', 'utf8').split('\n').slice(1).join('\n').replace(/'/g, '"'))
{ target_defaults:
{ cflags: [],
default_configuration: 'Release',
defines: [],
include_dirs: [],
libraries: [] },
variables:
{ host_arch: 'x64',
node_install_npm: 'true',
node_install_waf: 'true',
node_prefix: '',
node_shared_v8: 'false',
node_shared_zlib: 'false',
node_use_dtrace: 'false',
node_use_openssl: 'true',
node_use_system_openssl: 'false',
strict_aliasing: 'true',
target_arch: 'x64',
v8_use_snapshot: 'true' } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment