lobby2/Taskfile.yml
Adam Štrauch 0a1b9c1305
All checks were successful
Tests / test (push) Successful in 11s
CGO_ENABLED to zero
2024-12-11 01:05:45 +01:00

22 lines
364 B
YAML

# https://taskfile.dev
version: '3'
vars:
VERSION: 0.0.0
tasks:
docs:
cmds:
- swag i --parseDependency --dir api
silent: false
test:
cmds:
- go mod tidy
- go test -v ./...
silent: false
build:
cmds:
- go mod tidy
- mkdir -p bin
- env CGO_ENABLED=0 go build -o bin/lobby2-{{ .VERSION }}-linux-amd64 cli/*.go