From fe76260837c0f6c14e2c25e64e00c520d6f745a1 Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Thu, 3 Nov 2016 15:24:12 +0000 Subject: [PATCH] npm.md: Update docs to include json removal Signed-off-by: Brendan Le Foll --- docs/npm.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/npm.md b/docs/npm.md index defe7ec..d3ae901 100644 --- a/docs/npm.md +++ b/docs/npm.md @@ -24,12 +24,16 @@ dir which matches the npm pkg name so we create one with a symlink and add the ~~~~~~~~~~~~~{.sh} mkdir build cd build -cmake -DBUILDSWIGNODE=ON .. +cmake -DBUILDSWIGNODE=ON -DJSONPLAT=OFF .. make npmpkg ln -s ../ mraa tar hczv --exclude='build*' --exclude='.gitignore' --exclude='.git' --exclude='build*/*' --exclude='.git/*' -f mraa.tar.gz mraa ~~~~~~~~~~~~~ +You need to disable jsonplatform otherwise you will need to change the +binding.gyp file to include those sources and make sure target platform has +json-c headers & libs. + Building with node-gyp ----------------------