27 lines
641 B
YAML
Raw Normal View History

---
version: "3"
vars:
TCClientBinary: name.pztrn.bunker.app.translations_checker{{exeExt}}
tasks:
build:
desc: "Build translations checker."
dir: ./client/cmd/translations_checker
cmds:
- task: ::ensure-builddir
- task: cleanup
- go build -o ../../../.build/{{ .TCClientBinary }} main.go
cleanup:
desc: "Cleanup build environment for translations checker."
cmds:
- rm .build/{{ .TCClientBinary }}
ignore_error: true
run:
desc: "Launch translations checker."
cmds:
- task: build
- .build/{{ .TCClientBinary }} -translations-path client/internal/langfiles/files