Skip to content

Commit

Permalink
Fix file copying for windows
Browse files Browse the repository at this point in the history
Signed-off-by: Zabil Cheriya Maliackal <[email protected]>
  • Loading branch information
zabil committed Jun 10, 2024
1 parent 3731c8b commit 50bb74f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
3 changes: 2 additions & 1 deletion gauge-ts/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ $tasks.Add('package', @{
description = "Generate gauge-ts plugin zip file";
script = {
Invoke-Command $tasks.Get_Item("build").script
npm run clean:build
mkdir -p deploy
Copy-Item launcher.* deploy
Copy-Item ts.json deploy
Expand Down Expand Up @@ -109,4 +110,4 @@ if ($task) {
else {
Write-Output "'$taskname' is not a valid task name."
DisplayTaskList
}
}
9 changes: 7 additions & 2 deletions gauge-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preclean:build": "rimraf dist deploy artifacts",
"build": "tsc",
"clean:build": "npm run build",
"postbuild": "copyup -a ./src/gen/** ./dist",
"postbuild": "copyfiles -f \"./src/gen/**\" \"./dist/gen\"",
"package": "./build.sh package",
"precommit": " npm run format && npm run lint",
"test": "jest --verbose --detectOpenHandles --forceExit",
Expand All @@ -19,7 +19,12 @@
"type": "git",
"url": "git+https://github.com/getgauge/gauge-ts.git"
},
"keywords": ["gauge", "Acceptance Test", "Typescript", "Automation"],
"keywords": [
"gauge",
"Acceptance Test",
"Typescript",
"Automation"
],
"author": "Gauge <[email protected]>",
"license": "MIT",
"bugs": {
Expand Down

0 comments on commit 50bb74f

Please sign in to comment.