Skip to content

Commit

Permalink
Fix build script on Windows again
Browse files Browse the repository at this point in the history
  • Loading branch information
56789a1987 committed Oct 30, 2023
1 parent f8ffbbe commit b14b5ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion binding.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
'outputs': [
'cws'
],
'action': ['copy-file', '<@(PRODUCT_DIR)/cws.node', 'dist/bindings/cws_<!@(node -p process.platform)_<!@(node -p process.versions.modules).node']
'action': ['<(module_root_dir)/copy', '<@(PRODUCT_DIR)/cws.node', 'dist/bindings/cws_<!@(node -p process.platform)_<!@(node -p process.versions.modules).node']
}
]}
]
Expand Down
2 changes: 2 additions & 0 deletions copy.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REM temporary fix for node-gyp breaking the "copy" command
copy %1 %2
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
"@types/mocha": "^10.0.1",
"@types/node": "^20.4.5",
"chai": "^4.3.7",
"copy-file-util": "^1.1.2",
"mocha": "^10.2.0",
"nyc": "^15.0.1",
"rimraf": "^5.0.0",
Expand Down

0 comments on commit b14b5ad

Please sign in to comment.