Private
Public Access
2
0

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:
Brendan Le Foll
2014-11-24 15:18:53 +00:00
parent d4552fdc5e
commit a38c07f7b1
6 changed files with 104 additions and 3 deletions

8
.gitignore vendored
View File

@@ -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