npm: add node-gyp build support
This commit adds all the infrastructure necessary for doing node-gyp builds of mraa. Note this will only build the mraa js bindings and will dirty your git tree whilst doing it. It also assumes the user does not have SWIG installed on their machines and so the swig wrapper is static. The target to use this feature is 'npmpkg'. Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
8
.gitignore
vendored
8
.gitignore
vendored
@@ -11,3 +11,11 @@ build/
|
||||
# Temp files
|
||||
*.swp
|
||||
*~
|
||||
|
||||
# npmpub files
|
||||
src/mraajsJAVASCRIPT_wrap.cxx
|
||||
src/version.c
|
||||
package.json
|
||||
binding.gyp
|
||||
READMEFIRST
|
||||
npm-debug.log
|
||||
|
||||
Reference in New Issue
Block a user