Skip to content

Commit 354d688

Browse files
author
Dane Springmeyer
committed
remove node-gyp from package.json since it will now break node v0.10.x support
1 parent 105861d commit 354d688

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,12 @@
3838
},
3939
"dependencies": {
4040
"nan": "~2.7.0",
41-
"node-pre-gyp": "https://github.com/mapbox/node-pre-gyp/tarball/node-v0.10"
41+
"node-pre-gyp": "https://github.com/mapbox/node-pre-gyp/tarball/master"
4242
},
4343
"bundledDependencies": [
4444
"node-pre-gyp"
4545
],
4646
"devDependencies": {
47-
"node-gyp": "^3.6.1",
4847
"aws-sdk": "2.x",
4948
"eslint": "3.5.0",
5049
"mocha": "3.x"

scripts/build-appveyor.bat

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,9 @@ IF /I "%NPM_BIN_DIR%"=="%CD%" ECHO ERROR npm bin -g equals local directory && SE
110110
ECHO ===== where npm puts stuff END ============
111111

112112

113-
ECHO installing node-gyp
114-
CALL npm install -g node-gyp
113+
IF "%nodejs_version:~0,1%"=="0" npm install https://github.com/springmeyer/node-gyp/tarball/v3.x
114+
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
115+
IF "%nodejs_version:~0,1%"=="4" npm install node-gyp@4.x
115116
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
116117

117118
CALL npm install --build-from-source --msvs_version=%msvs_version% %TOOLSET_ARGS% --loglevel=http

0 commit comments

Comments
 (0)