From 208dc858b58462176a3ea94d81f9423c50c5f10b Mon Sep 17 00:00:00 2001 From: Yavor Georgiev Date: Fri, 16 Jun 2017 11:01:22 +0200 Subject: [PATCH] update the windows pre-gyp script (#1072) --- scripts/build-node-pre-gyp.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build-node-pre-gyp.ps1 b/scripts/build-node-pre-gyp.ps1 index b851c840..ee738f45 100644 --- a/scripts/build-node-pre-gyp.ps1 +++ b/scripts/build-node-pre-gyp.ps1 @@ -20,10 +20,10 @@ New-Item .\out -ItemType "directory" npm install --ignore-scripts foreach ($arch in "ia32", "x64") { - foreach ($version in "4.0.0", "5.0.0", "6.0.0", "7.0.0") { + foreach ($version in "4.0.0", "5.0.0", "6.0.0", "7.0.0", "8.0.0") { Remove-Item .\build, .\compiled -Recurse -Force -ErrorAction Ignore .\node_modules\node-pre-gyp\bin\node-pre-gyp.cmd rebuild --target_arch=$arch --target=$version .\node_modules\node-pre-gyp\bin\node-pre-gyp.cmd package --target_arch=$arch --target=$version - Copy-Item .\build\stage\node-pre-gyp\*.tar.gz -Destination .\out + Copy-Item .\build\stage\node-pre-gyp\**\*.tar.gz -Destination .\out } } \ No newline at end of file