mirror of https://github.com/grpc/grpc-node.git
Forgot the 'Local' directory component
This commit is contained in:
parent
c55edf7107
commit
58ce2779a1
|
|
@ -44,7 +44,7 @@ const installWindows = () => {
|
||||||
return execa('npm', ['install', '--build-from-source'],
|
return execa('npm', ['install', '--build-from-source'],
|
||||||
{cwd: nativeCoreDir, stdio: 'inherit'}).catch(() =>
|
{cwd: nativeCoreDir, stdio: 'inherit'}).catch(() =>
|
||||||
del(path.resolve(process.env.USERPROFILE, '.node-gyp', process.versions.node, 'include/node/openssl'), { force: true }).then(() =>
|
del(path.resolve(process.env.USERPROFILE, '.node-gyp', process.versions.node, 'include/node/openssl'), { force: true }).then(() =>
|
||||||
del(path.resolve(process.env.USERPROFILE, 'AppData/node-gyp/cache', process.versions.node, 'include/node/openssl'), { force: true })).then(() =>
|
del(path.resolve(process.env.USERPROFILE, 'AppData/Local/node-gyp/cache', process.versions.node, 'include/node/openssl'), { force: true })).then(() =>
|
||||||
execa('npm', ['install', '--build-from-source'],
|
execa('npm', ['install', '--build-from-source'],
|
||||||
{cwd: nativeCoreDir, stdio: 'inherit'})
|
{cwd: nativeCoreDir, stdio: 'inherit'})
|
||||||
));
|
));
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,8 @@ for %%a in (%arch_list%) do (
|
||||||
@rem Try again after removing openssl headers
|
@rem Try again after removing openssl headers
|
||||||
rmdir "%USERPROFILE%\.node-gyp\%%v\include\node\openssl" /S /Q
|
rmdir "%USERPROFILE%\.node-gyp\%%v\include\node\openssl" /S /Q
|
||||||
rmdir "%USERPROFILE%\.node-gyp\iojs-%%v\include\node\openssl" /S /Q
|
rmdir "%USERPROFILE%\.node-gyp\iojs-%%v\include\node\openssl" /S /Q
|
||||||
rmdir "%USERPROFILE%\AppData\node-gyp\cache\%%v\include\node\openssl" /S /Q
|
rmdir "%USERPROFILE%\AppData\Local\node-gyp\cache\%%v\include\node\openssl" /S /Q
|
||||||
rmdir "%USERPROFILE%\AppData\node-gyp\cache\iojs-%%v\include\node\openssl" /S /Q
|
rmdir "%USERPROFILE%\AppData\Local\node-gyp\cache\iojs-%%v\include\node\openssl" /S /Q
|
||||||
call .\node_modules\.bin\node-pre-gyp.cmd build package --target=%%v --target_arch=%%a || goto :error
|
call .\node_modules\.bin\node-pre-gyp.cmd build package --target=%%v --target_arch=%%a || goto :error
|
||||||
|
|
||||||
xcopy /Y /I /S build\stage\* %ARTIFACTS_OUT%\ || goto :error
|
xcopy /Y /I /S build\stage\* %ARTIFACTS_OUT%\ || goto :error
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue