diff options
author | 2016-05-09 14:57:29 -0700 | |
---|---|---|
committer | 2016-05-09 14:57:29 -0700 | |
commit | 019a76e300f0170c4ecc09bdc008734ba75c6e6e (patch) | |
tree | f081330a73af1a02d8e78b546cf6fed7f1372e54 /tools/run_tests | |
parent | 12fd55587d6bbba788f0601a4e106fc27b4cc8d0 (diff) |
Use local copy of node-pre-gyp on Windows to ensure that it is up to date
Diffstat (limited to 'tools/run_tests')
-rw-r--r-- | tools/run_tests/build_artifact_node.bat | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/run_tests/build_artifact_node.bat b/tools/run_tests/build_artifact_node.bat index 3c23ac1dae..4f18985a12 100644 --- a/tools/run_tests/build_artifact_node.bat +++ b/tools/run_tests/build_artifact_node.bat @@ -38,12 +38,12 @@ call npm update || goto :error mkdir artifacts for %%v in (%node_versions%) do ( - call node-pre-gyp configure build --target=%%v --target_arch=%1 + call .\node_modules\.bin\node-pre-gyp.cmd configure build --target=%%v --target_arch=%1 @rem Try again after removing openssl headers rmdir "%HOMEDRIVE%%HOMEPATH%\.node-gyp\%%v\include\node\openssl" /S /Q rmdir "%HOMEDRIVE%%HOMEPATH%\.node-gyp\iojs-%%v\include\node\openssl" /S /Q - call node-pre-gyp build package testpackage --target=%%v --target_arch=%1 || goto :error + call .\node_modules\.bin\node-pre-gyp.cmd configure build --target=%%v --target_arch=%1 || goto :error xcopy /Y /I /S build\stage\* artifacts\ || goto :error ) |