Client build scripts fixes and server stub with local devzone.
All checks were successful
Linting and tests / Linting (push) Successful in 6s

This commit is contained in:
2025-09-13 18:13:50 +05:00
parent 1bf8a5b124
commit 3cfc74affa
21 changed files with 578 additions and 23 deletions

View File

@@ -14,19 +14,25 @@ vars:
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}}'"
BASIC_LDFLAGS: "-X 'bunker/commons.Version={{.VERSION}}' -X 'bunker/commons.Branch={{.BRANCH}}' -X 'bunker/commons.Commit={{.COMMIT}}' -X 'bunker/commons.Build={{.BUILD}}' -X 'bunker/commons.BuildDate={{.BUILD_DATE}}'"
env:
GOFLAGS: "-trimpath"
includes:
client: ./client
server: ./server
tasks:
cleanup:
desc: "Cleanup _build directory."
cmds:
- task: server:cmd:bunkerd:cleanup
ensure-builddir:
internal: true
cmds:
- mkdir -p .build
- mkdir -p _build
lint:
desc: "Lints whole workspace."