From bf152498f9a58792972ff1f51492141e3bc86a7f Mon Sep 17 00:00:00 2001 From: Dominic Pelini <111786059+DomPeliniAerospike@users.noreply.github.com> Date: Tue, 7 Nov 2023 10:58:08 -0700 Subject: [PATCH] Windows: Build script removes unnecessary files from binding directory --- scripts/build-package.ps1 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/build-package.ps1 b/scripts/build-package.ps1 index 9382c023..36afce55 100644 --- a/scripts/build-package.ps1 +++ b/scripts/build-package.ps1 @@ -36,7 +36,16 @@ function build_nodejs_client { build_nodejs_client v18 Copy-Item -Recurse build\release\* lib\binding\node-v108-win32-x64 +Remove-Item .\lib\binding\node-v108-win32-x64\obj +Remove-Item .\lib\binding\node-v108-win32-x64\aerospike.pdb +Remove-Item .\lib\binding\node-v108-win32-x64\aerospike.ipdb +Remove-Item .\lib\binding\node-v108-win32-x64\aerospike.iobj + build_nodejs_client v20 Copy-Item -Recurse build\release\* lib\binding\node-v115-win32-x64 +Remove-Item -Recurse .\lib\binding\node-v115-win32-x64\obj +Remove-Item .\lib\binding\node-v115-win32-x64\aerospike.pdb +Remove-Item .\lib\binding\node-v115-win32-x64\aerospike.ipdb +Remove-Item .\lib\binding\node-v115-win32-x64\aerospike.iobj nvm use v18.12.1