lobby2/Taskfile.yml

23 lines
340 B
YAML
Raw Permalink Normal View History

2024-12-08 01:30:07 +00:00
# https://taskfile.dev
version: '3'
2024-12-08 11:22:35 +00:00
vars:
VERSION: 0.0.0
2024-12-08 01:30:07 +00:00
tasks:
docs:
cmds:
- swag i --parseDependency --dir api
2024-12-08 01:48:48 +00:00
silent: false
test:
cmds:
- go mod tidy
- go test -v ./...
silent: false
2024-12-08 11:22:35 +00:00
build:
cmds:
- go mod tidy
2024-12-08 16:30:36 +00:00
- mkdir -p bin
- go build -o bin/lobby2-{{ .VERSION }}-amd64 cli/*.go