mirror of
https://github.com/onyx-and-iris/voicemeeter-compact.git
synced 2025-02-22 18:05:06 +00:00
reformat
This commit is contained in:
parent
ad3020809e
commit
e4d87334cb
29
Taskfile.yml
29
Taskfile.yml
@ -5,18 +5,19 @@ vars:
|
||||
|
||||
tasks:
|
||||
default:
|
||||
desc: "Prepare artifacts for release"
|
||||
deps: [release]
|
||||
desc: Prepare artifacts for release
|
||||
cmds:
|
||||
- task: release
|
||||
|
||||
release:
|
||||
desc: "Build and compress all artifacts"
|
||||
desc: Build and compress all artifacts
|
||||
cmds:
|
||||
- task: build
|
||||
- task: compress
|
||||
- echo "Release complete"
|
||||
|
||||
build:
|
||||
desc: "Build all artifacts"
|
||||
desc: Build all artifacts
|
||||
cmds:
|
||||
- task: build-sunvalley
|
||||
- echo "Sunvalley build complete"
|
||||
@ -24,31 +25,31 @@ tasks:
|
||||
- echo "Forest build complete"
|
||||
|
||||
build-sunvalley:
|
||||
desc: "Build Sunvalley artifacts"
|
||||
desc: Build Sunvalley artifacts
|
||||
cmds:
|
||||
- for:
|
||||
matrix:
|
||||
KIND: ["basic", "banana", "potato"]
|
||||
KIND: [basic, banana, potato]
|
||||
cmd: poetry run pyinstaller --noconfirm --distpath dist/sunvalley-{{.ITEM.KIND}} spec/sunvalley-{{.ITEM.KIND}}.spec
|
||||
|
||||
build-forest:
|
||||
desc: "Build Forest artifacts"
|
||||
desc: Build Forest artifacts
|
||||
deps: [rewrite]
|
||||
cmds:
|
||||
- defer: { task: restore }
|
||||
- for:
|
||||
matrix:
|
||||
KIND: ["basic", "banana", "potato"]
|
||||
THEME: ["light", "dark"]
|
||||
KIND: [basic, banana, potato]
|
||||
THEME: [light, dark]
|
||||
cmd: poetry run pyinstaller --noconfirm --distpath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} spec/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.spec
|
||||
|
||||
rewrite:
|
||||
desc: "Run the source code rewriter"
|
||||
desc: Run the source code rewriter
|
||||
cmds:
|
||||
- poetry run python tools/rewriter.py --rewrite
|
||||
|
||||
restore:
|
||||
desc: "Restore the backup files"
|
||||
desc: Restore the backup files
|
||||
cmds:
|
||||
- poetry run python tools/rewriter.py --restore
|
||||
|
||||
@ -59,15 +60,15 @@ tasks:
|
||||
cmds:
|
||||
- for:
|
||||
matrix:
|
||||
KIND: ["basic", "banana", "potato"]
|
||||
KIND: [basic, banana, potato]
|
||||
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/sunvalley-{{.ITEM.KIND}} -DestinationPath dist/sunvalley-{{.ITEM.KIND}}.zip"'
|
||||
|
||||
compress-forest:
|
||||
cmds:
|
||||
- for:
|
||||
matrix:
|
||||
KIND: ["basic", "banana", "potato"]
|
||||
THEME: ["light", "dark"]
|
||||
KIND: [basic, banana, potato]
|
||||
THEME: [light, dark]
|
||||
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} -DestinationPath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.zip"'
|
||||
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user