diff options
Diffstat (limited to 'back-end/Taskfile.yaml')
-rw-r--r-- | back-end/Taskfile.yaml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/back-end/Taskfile.yaml b/back-end/Taskfile.yaml index 07bcaf6..ed2e072 100644 --- a/back-end/Taskfile.yaml +++ b/back-end/Taskfile.yaml @@ -12,7 +12,7 @@ tasks: dir: '{{.USER_WORKING_DIR}}' cmds: #build project - - dotnet publish -c release {{.DOTNET_BUILD_FLAGS}} + - dotnet publish -c release {{.DOTNET_BUILD_FLAGS}} #postbuild to package artifaces into the archives for upload postbuild_success: @@ -29,14 +29,14 @@ tasks: - powershell -Command "cp '{{.MODULE_DIR}}/LICENSE.txt' -Destination '{{.OUT_DIR}}/LICENSE.txt'" #tar the plugin output and put it in the bin dir - - cd {{.OUT_DIR}} && tar -czvf '{{.USER_WORKING_DIR}}/bin/release.tgz' . + - cd {{.OUT_DIR}} && tar -czf '{{.USER_WORKING_DIR}}/bin/release.tgz' . packsource: dir: '{{.USER_WORKING_DIR}}' internal: true cmds: #copy source code to target - - powershell -Command "Get-ChildItem -Include *.cs,*.csproj -Recurse | Where { \$_.FullName -notlike '*\obj\*' -and \$_.FullName -notlike '*\bin\*' } | Resolve-Path -Relative | tar --files-from - -cvzf 'bin/src.tgz'" + - powershell -Command "Get-ChildItem -Include *.cs,*.csproj -Recurse | Where { \$_.FullName -notlike '*\obj\*' -and \$_.FullName -notlike '*\bin\*' } | Resolve-Path -Relative | tar --files-from - -czf 'bin/src.tgz'" #clean hook clean: @@ -44,5 +44,5 @@ tasks: ignore_error: true cmds: - dotnet clean -c release - - powershell -Command "Remove-Item -Recurse bin" - - powershell -Command "Remove-Item -Recurse obj"
\ No newline at end of file + - for: [ bin/, obj/ ] + cmd: powershell -Command "Remove-Item -Recurse {{.ITEM}}" |