run through formatter

This commit is contained in:
Onyx and Iris 2025-02-07 23:00:07 +00:00
parent c7b8622aac
commit 9ee0dac610

View File

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