bunker/server/cmd/bunkerd/Taskfile.yml
Stanislav N. aka pztrn 3cfc74affa
All checks were successful
Linting and tests / Linting (push) Successful in 6s
Client build scripts fixes and server stub with local devzone.
2025-09-13 18:13:50 +05:00

27 lines
624 B
YAML

---
version: "3"
tasks:
build:
desc: "Builds bunkerd binary."
cmds:
- task: :::ensure-builddir
- task: cleanup
- go build -ldflags="{{ .BASIC_LDFLAGS }}" -o _build/bunkerd{{exeExt}} ./server/cmd/bunkerd/main.go
sources:
- ./Taskfile.yml
- ./go.mod
- ./commons/*
- ./server/**/*.go
- ./server/Taskfile.yml
- ./server/**/Taskfile.yml
- ./server/entrypoint.sh
generates:
- ./_build/bunkerd{{exeExt}}
method: timestamp
cleanup:
desc: "Deletes bunkerd binary from local build cache."
cmds:
- rm -f _build/bunkerd{{exeExt}}