From 677954822c87350ff6d84cdb529685bd594e439a Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Wed, 26 Aug 2015 11:16:31 -0400 Subject: [PATCH] npm install --build-from-source --- platform/node/package.json | 2 +- scripts/node/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/node/package.json b/platform/node/package.json index dce278d39..9644083c0 100644 --- a/platform/node/package.json +++ b/platform/node/package.json @@ -35,7 +35,7 @@ "tape": "^4.0.0" }, "scripts": { - "install": "node-pre-gyp install", + "install": "node-pre-gyp install || make node -C ../../", "test": "tape test/js/**/*.test.js | faucet", "test-suite": "tape test/render.test.js | faucet" }, diff --git a/scripts/node/run.sh b/scripts/node/run.sh index dea4ed8d8..0316065ef 100755 --- a/scripts/node/run.sh +++ b/scripts/node/run.sh @@ -15,7 +15,7 @@ mapbox_time "checkout_styles" \ git submodule update --init styles mapbox_time "compile_program" \ -make node -j${JOBS} BUILDTYPE=${BUILDTYPE} +cd platform/node && npm install --build-from-source ################################################################################ # Test