Skip to content

Commit

Permalink
Windows: Build script removes unnecessary files from binding directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Nov 7, 2023
1 parent 611630e commit bf15249
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/build-package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit bf15249

Please sign in to comment.