nvda-voicemeeter/Taskfile.yml

41 lines
917 B
YAML
Raw Normal View History

2025-02-07 16:07:45 +00:00
version: '3'
vars:
SHELL: pwsh
tasks:
default:
desc: Prepare artifacts for release
cmds:
2025-02-07 23:00:07 +00:00
- task: release
2025-02-07 16:07:45 +00:00
release:
desc: Build and compress all artifacts
cmds:
2025-02-07 23:00:07 +00:00
- task: build
- task: compress
2025-02-07 16:07:45 +00:00
build:
desc: Build the project
cmds:
2025-02-07 23:00:07 +00:00
- for:
matrix:
KIND: [basic, banana, potato]
cmd: pdm run pyinstaller --noconfirm --distpath dist/{{.ITEM.KIND}} spec/{{.ITEM.KIND}}.spec
2025-02-07 16:07:45 +00:00
compress:
desc: Compress the build artifacts
cmds:
2025-02-07 23:00:07 +00:00
- for:
matrix:
KIND: [basic, banana, potato]
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/{{.ITEM.KIND}} -DestinationPath dist/{{.ITEM.KIND}}.zip"'
2025-02-07 16:07:45 +00:00
clean:
desc: Clean the project
cmds:
2025-02-07 23:00:07 +00:00
- |
{{.SHELL}} -Command "
Remove-Item -Recurse -Force build/basic,build/banana,build/potato
Remove-Item -Recurse -Force dist/*"