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:
26
server/cmd/bunkerd/Taskfile.yml
Normal file
26
server/cmd/bunkerd/Taskfile.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
---
|
||||
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}}
|
Reference in New Issue
Block a user