@enonic/cli-test
Advanced tools
Comparing version 0.0.5 to 0.0.6
{ | ||
"name": "@enonic/cli-test", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "Command-line interface for Enonic XP", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -147,6 +147,8 @@ #!/usr/bin/env node | ||
var copyCommand = 'cp'; | ||
var args = ''; | ||
if (process.platform === "win32") { | ||
copyCommand = "xcopy /i"; | ||
args = ' /i'; | ||
} | ||
await execShellCommand(`${copyCommand} ${src} ${opts.binPath}/`); | ||
await execShellCommand(`${copyCommand} ${src} ${opts.binPath}/${args}`); | ||
await verifyAndPlaceBinary(opts.binName, opts.binPath, callback); | ||
@@ -153,0 +155,0 @@ } |
200990403
192