The very basic client app, not adapted for mobiles.
This commit is contained in:
26
client/cmd/translations_checker/Taskfile.yml
Normal file
26
client/cmd/translations_checker/Taskfile.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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
|
Reference in New Issue
Block a user