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
75
Taskfile.yml
75
Taskfile.yml
@ -5,70 +5,71 @@ vars:
|
|||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
default:
|
default:
|
||||||
desc: "Prepare artifacts for release"
|
desc: Prepare artifacts for release
|
||||||
deps: [release]
|
cmds:
|
||||||
|
- 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
|
||||||
- echo "Release complete"
|
- echo "Release complete"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
desc: "Build all artifacts"
|
desc: Build all artifacts
|
||||||
cmds:
|
cmds:
|
||||||
- task: build-sunvalley
|
- task: build-sunvalley
|
||||||
- echo "Sunvalley build complete"
|
- echo "Sunvalley build complete"
|
||||||
- task: build-forest
|
- task: build-forest
|
||||||
- echo "Forest build complete"
|
- echo "Forest build complete"
|
||||||
|
|
||||||
build-sunvalley:
|
build-sunvalley:
|
||||||
desc: "Build Sunvalley artifacts"
|
desc: Build Sunvalley artifacts
|
||||||
cmds:
|
cmds:
|
||||||
- for:
|
- for:
|
||||||
matrix:
|
matrix:
|
||||||
KIND: ["basic", "banana", "potato"]
|
KIND: [basic, banana, potato]
|
||||||
cmd: poetry run pyinstaller --noconfirm --distpath dist/sunvalley-{{.ITEM.KIND}} spec/sunvalley-{{.ITEM.KIND}}.spec
|
cmd: poetry run pyinstaller --noconfirm --distpath dist/sunvalley-{{.ITEM.KIND}} spec/sunvalley-{{.ITEM.KIND}}.spec
|
||||||
|
|
||||||
build-forest:
|
build-forest:
|
||||||
desc: "Build Forest artifacts"
|
desc: Build Forest artifacts
|
||||||
deps: [rewrite]
|
deps: [rewrite]
|
||||||
cmds:
|
cmds:
|
||||||
- defer: { task: restore }
|
- defer: { task: restore }
|
||||||
- for:
|
- for:
|
||||||
matrix:
|
matrix:
|
||||||
KIND: ["basic", "banana", "potato"]
|
KIND: [basic, banana, potato]
|
||||||
THEME: ["light", "dark"]
|
THEME: [light, dark]
|
||||||
cmd: poetry run pyinstaller --noconfirm --distpath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} spec/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.spec
|
cmd: poetry run pyinstaller --noconfirm --distpath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} spec/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.spec
|
||||||
|
|
||||||
rewrite:
|
rewrite:
|
||||||
desc: "Run the source code rewriter"
|
desc: Run the source code rewriter
|
||||||
cmds:
|
cmds:
|
||||||
- poetry run python tools/rewriter.py --rewrite
|
- poetry run python tools/rewriter.py --rewrite
|
||||||
|
|
||||||
restore:
|
restore:
|
||||||
desc: "Restore the backup files"
|
desc: Restore the backup files
|
||||||
cmds:
|
cmds:
|
||||||
- poetry run python tools/rewriter.py --restore
|
- poetry run python tools/rewriter.py --restore
|
||||||
|
|
||||||
compress:
|
compress:
|
||||||
deps: [compress-sunvalley, compress-forest]
|
deps: [compress-sunvalley, compress-forest]
|
||||||
|
|
||||||
compress-sunvalley:
|
compress-sunvalley:
|
||||||
cmds:
|
cmds:
|
||||||
- for:
|
- for:
|
||||||
matrix:
|
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"'
|
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/sunvalley-{{.ITEM.KIND}} -DestinationPath dist/sunvalley-{{.ITEM.KIND}}.zip"'
|
||||||
|
|
||||||
compress-forest:
|
compress-forest:
|
||||||
cmds:
|
cmds:
|
||||||
- for:
|
- for:
|
||||||
matrix:
|
matrix:
|
||||||
KIND: ["basic", "banana", "potato"]
|
KIND: [basic, banana, potato]
|
||||||
THEME: ["light", "dark"]
|
THEME: [light, dark]
|
||||||
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} -DestinationPath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.zip"'
|
cmd: '{{.SHELL}} -Command "Compress-Archive -Path dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}} -DestinationPath dist/forest-{{.ITEM.KIND}}-{{.ITEM.THEME}}.zip"'
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
cmds:
|
cmds:
|
||||||
|
Loading…
Reference in New Issue
Block a user