npm: add node-gyp build support
authorBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 24 Nov 2014 15:18:53 +0000 (15:18 +0000)
committerBrendan Le Foll <brendan.le.foll@intel.com>
Mon, 24 Nov 2014 15:20:19 +0000 (15:20 +0000)
commita38c07f7b153a65e37d61fa0b48fb0db462b06bd
tree8e0242b12e71607a22e73471b7a5b75c13e7840e
parentd4552fdc5e3cafb3d136a35adaf19d8ebc92a293
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>
.gitignore
docs/npm.md [new file with mode: 0644]
src/CMakeLists.txt
src/javascript/CMakeLists.txt
src/javascript/binding.gyp.cmake [new file with mode: 0644]
src/javascript/package.json.cmake