Files
query-orchestration/scripts/Taskfile.yml
T
Jay Brown 174644b63c Merged in jb/openapi (pull request #22)
add openapi infra

* add openapi infra

Includes generated stubs and all deps

* generatetolocation

* basesetupoffunctionsandclient

* round1controllertests

* passintegrationtests

* cleanupfromfullsuite

* storedjson

* fixjsonyaml

* fixtests


Approved-by: Michael McGuinness
2025-01-15 19:45:51 +00:00

81 lines
1.3 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 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