The very basic client app, not adapted for mobiles.
This commit is contained in:
29
Taskfile.yml
Normal file
29
Taskfile.yml
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
version: "3"
|
||||
|
||||
vars:
|
||||
VERSION:
|
||||
sh: scripts/version_generator.sh
|
||||
CLIENT_VERSION:
|
||||
sh: scripts/version_generator.sh client
|
||||
BRANCH:
|
||||
sh: git rev-parse --abbrev-ref HEAD
|
||||
COMMIT:
|
||||
sh: git rev-parse --short HEAD
|
||||
BUILD:
|
||||
sh: git rev-list --count HEAD
|
||||
BUILD_DATE:
|
||||
sh: TZ=UTC date +'%Y-%m-%d %H:%M:%S %Z'
|
||||
BASIC_LDFLAGS: "-X 'bunker/commons/constants.Version={{.VERSION}}' -X 'bunker/commons/constants.Branch={{.BRANCH}}' -X 'bunker/commons/constants.Commit={{.COMMIT}}' -X 'bunker/commons/constants.Build={{.BUILD}}' -X 'bunker/commons/constants.BuildDate={{.BUILD_DATE}}'"
|
||||
|
||||
env:
|
||||
GOFLAGS: "-trimpath"
|
||||
|
||||
includes:
|
||||
client: ./client
|
||||
|
||||
tasks:
|
||||
ensure-builddir:
|
||||
internal: true
|
||||
cmds:
|
||||
- mkdir -p .build
|
Reference in New Issue
Block a user