voicemeeter-compact/Taskfile.dynamic.yml
onyx-and-iris 737dc75cba add dynamic_builder script
add Taskfile for running dynamic builds
2026-03-10 01:31:25 +00:00

41 lines
984 B
YAML

version: '3'
# Dynamic build system - no spec files needed!
# Usage: task build THEMES="azure forest" or task build-all
vars:
THEMES: '{{.THEMES | default "all"}}'
SHELL: pwsh
tasks:
build:
desc: Build specified themes dynamically (no spec files needed)
cmds:
- poetry run python tools/dynamic_builder.py {{.THEMES}}
build-all:
desc: Build all themes
cmds:
- poetry run python tools/dynamic_builder.py all
build-azure:
desc: Build only azure theme
cmds:
- poetry run python tools/dynamic_builder.py azure
build-forest:
desc: Build only forest theme
cmds:
- poetry run python tools/dynamic_builder.py forest
build-sunvalley:
desc: Build only sunvalley theme
cmds:
- poetry run python tools/dynamic_builder.py sunvalley
clean:
desc: Clean all build artifacts
cmds:
- |
{{.SHELL}} -Command "Remove-Item -Path build/*,dist/* -Recurse -Force -ErrorAction SilentlyContinue"