Skip to content

Commit

Permalink
chore: fix clean script for minimal
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Aug 21, 2023
1 parent b98fb7c commit 048127d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
7 changes: 4 additions & 3 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,16 @@ tasks:
- task: rpi4-vcpkg:lint

clean:
deps:
- myproj:clean
- install:clean
- minimal:clean
cmds:
- cmd: powershell -c 'function rmrf($path) { if (test-path $path) { rm -r -force $path }}; rmrf ./install'
platforms: [windows]
- cmd: rm -rf ./install
platforms: [linux, darwin]

- task: myproj:clean
- task: install:clean

docs:
deps:
- docs:docs
Expand Down
9 changes: 5 additions & 4 deletions tests/minimal/Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ tasks:
- ~/vcpkg/vcpkg format-manifest ./vcpkg.json

clean:
- cmd: powershell -c 'function rmrf($path) { if (test-path $path) { rm -r -force $path }}; rmrf ./build'
platforms: [windows]
- cmd: rm -rf ./build
platforms: [linux, darwin]
cmds:
- cmd: powershell -c 'function rmrf($path) { if (test-path $path) { rm -r -force $path }}; rmrf ./build'
platforms: [windows]
- cmd: rm -rf ./build
platforms: [linux, darwin]

0 comments on commit 048127d

Please sign in to comment.