diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:27 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:27 -0400 |
commit | fa2a9ce15af0aabe36d4e488d5c079723f9796fe (patch) | |
tree | 50ab9e1491ff6bc5f45c53972198b8c84182b0ed /Taskfile.yaml | |
parent | 42c2a0b50de4c5edf7772924a42b8b188cd15c01 (diff) |
source tree project location updated
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r-- | Taskfile.yaml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml index bb95e21..2857d21 100644 --- a/Taskfile.yaml +++ b/Taskfile.yaml @@ -12,7 +12,6 @@ version: '3' vars: TARGET: '{{.USER_WORKING_DIR}}/bin' RELEASE_DIR: "./bin/release/{{.TARGET_FRAMEWORK}}/publish" - SOURCE_OUT: "{{.USER_WORKING_DIR}}/bin/source" tasks: @@ -37,8 +36,7 @@ tasks: postbuild_failed: dir: '{{.USER_WORKING_DIR}}' - cmds: - - echo "postbuild failed {{.PROJECT_NAME}}" + cmds: [] postbuild: @@ -49,7 +47,6 @@ tasks: BUILD_OUT: "{{.USER_WORKING_DIR}}/bin/{{.BUILD_MODE}}/{{.TARGET_FRAMEWORK}}/publish" cmds: - #copy license and readme to target - cd .. && powershell -Command "Copy-Item -Path ./build.readme.md -Destination '{{.BUILD_OUT}}/readme.md'" @@ -67,8 +64,7 @@ tasks: #Remove the output dirs on clean clean: dir: '{{.USER_WORKING_DIR}}' + ignore_error: true cmds: - - cmd: powershell Remove-Item -Recurse './bin' - ignore_error: true - - cmd: powershell Remove-Item -Recurse './obj' - ignore_error: true + - for: ['bin/', 'obj/'] + cmd: powershell Remove-Item -Recurse '{{.ITEM}}' |