Skip to content
Snippets Groups Projects
Commit 019a76e3 authored by murgatroid99's avatar murgatroid99
Browse files

Use local copy of node-pre-gyp on Windows to ensure that it is up to date

parent 12fd5558
No related branches found
No related tags found
No related merge requests found
......@@ -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
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment