--- # 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