From 57e48c3f052249725517415d83c7147e4a8c44c8 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 15 Jun 2016 20:23:37 +1000 Subject: [PATCH] add node-pre-gyp support for precompiled binaries --- .gitignore | 5 ++-- .npmignore | 13 +++++++++- binding.gyp | 71 ++++++++++++++++++++++++++-------------------------- index.js | 5 +++- package.json | 18 ++++++++++--- 5 files changed, 69 insertions(+), 43 deletions(-) diff --git a/.gitignore b/.gitignore index 1e697fe..0c24dd0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # Files .lock-wscript -.nyc_output # Filetypes .*.swp @@ -8,4 +7,6 @@ # Paths /build /node_modules -/coverage \ No newline at end of file +/coverage +/binding +/.nyc_output diff --git a/.npmignore b/.npmignore index 378eac2..e212060 100644 --- a/.npmignore +++ b/.npmignore @@ -1 +1,12 @@ -build +.lock-wscript +.travis.yml +.dntrc +.npmignore +.*.swp +/build +/node_modules +/coverage +/binding +/.nyc_output +/test +/examples diff --git a/binding.gyp b/binding.gyp index 08300b6..cf5636b 100644 --- a/binding.gyp +++ b/binding.gyp @@ -1,37 +1,31 @@ { - 'targets': - [ + 'targets': [ { 'target_name': 'bignum', 'sources': [ 'bignum.cc' ], 'include_dirs': [ "" + "James Halliday ", + "Rod Vagg " ] }