Client build scripts fixes and server stub with local devzone.
All checks were successful
Linting and tests / Linting (push) Successful in 6s
All checks were successful
Linting and tests / Linting (push) Successful in 6s
This commit is contained in:
10
Taskfile.yml
10
Taskfile.yml
@@ -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."
|
||||
|
Reference in New Issue
Block a user