Files
query-orchestration/scripts/Taskfile.yml
T
Michael McGuinness f5d2808c7a Merged in feature/apitidyup (pull request #24)
Export API Clean Up

* exportapi
2025-01-16 13:49:07 +00:00

82 lines
1.4 KiB
YAML

---
# https://taskfile.dev
version: '3'
vars:
CONTEXT: ..
OUT_DIR: out
includes:
deps:
dir: "{{.CONTEXT}}"
taskfile: dependencies.yml
test:
dir: "{{.CONTEXT}}"
taskfile: tests.yml
docker:
dir: "{{.CONTEXT}}"
taskfile: docker.yml
openapi:
dir: "{{.CONTEXT}}"
taskfile: openapi.yml
compose:
dir: "{{.CONTEXT}}"
taskfile: compose.yml
db:
dir: "{{.CONTEXT}}"
taskfile: database.yml
tasks:
init:
cmds:
- touch .env
fullsuite:
cmds:
- task generate
- task lint
- task test:unit:coverage
- task test:integration
generate:
deps:
- db:generate
- openapi:generate
lint:
cmds:
- task go:lint
- task db:lint
- task yaml:lint
- task json:lint
- task docker:lint
- task compose:lint
- task openapi:lint
lint:fix:
cmds:
- task go:lint:fix
- task openapi:lint:fix
- task db:lint
- task yaml:lint
- task json:lint:fix
- task docker:lint
- task compose:lint
go:lint:
cmds:
- golangci-lint run
go:lint:fix:
deps:
- go:lint
cmds:
- gofmt -w .
yaml:lint:
cmds:
- yamllint . -s
json:lint:
cmds:
- jsonlint devbox.json -q -s
json:lint:fix:
cmds:
- jsonlint devbox.json -q -s -i
docs:
cmds:
- godoc -http=:6060