diff options
author | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:28 -0400 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2024-03-10 21:58:28 -0400 |
commit | 9983582db08d3e6c456295ea96e482cbb4f31f42 (patch) | |
tree | 653db1caa4dbaf2df6971c06c8674e1e90b54300 /Taskfile.yaml | |
parent | 60f09bde87b5c59ef937c62ef64b7745bc3711b5 (diff) |
source tree project location updated
Diffstat (limited to 'Taskfile.yaml')
-rw-r--r-- | Taskfile.yaml | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Taskfile.yaml b/Taskfile.yaml index 48aef59..0b441a3 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,9 +36,7 @@ tasks: postbuild_failed: dir: '{{.USER_WORKING_DIR}}' - cmds: - - echo "postbuild failed {{.PROJECT_NAME}}" - + cmds: [] postbuild: dir: '{{.USER_WORKING_DIR}}' @@ -48,8 +45,7 @@ tasks: #the build output directory BUILD_OUT: "{{.USER_WORKING_DIR}}/bin/{{.BUILD_MODE}}/{{.TARGET_FRAMEWORK}}/publish" - cmds: - + cmds: #copy license and readme to target - cd .. && powershell -Command "Copy-Item -Path ./build.readme.md -Destination '{{.BUILD_OUT}}/readme.md'" @@ -67,7 +63,8 @@ tasks: #Remove the output dirs on clean clean: dir: '{{.USER_WORKING_DIR}}' + ignore_error: true cmds: - - for: ['./bin', './obj'] + - for: ['bin/', 'obj/'] cmd: powershell Remove-Item -Recurse '{{.ITEM}}' - ignore_error: true + |