--- # 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 proto: dir: "{{.CONTEXT}}" taskfile: proto.yml compose: dir: "{{.CONTEXT}}" taskfile: compose.yml db: dir: "{{.CONTEXT}}" taskfile: database.yml tasks: init: cmds: - touch .env fullsuite: deps: - lint - test:unit:coverage - test:integration generate: deps: - db:generate - proto:generate lint: cmds: - task code:lint - task db:lint - task yaml:lint - task json:lint - task docker:lint - task compose:lint - task proto:lint lint:fix: cmds: - task code:lint:fix - task proto:lint:fix - task db:lint - task yaml:lint - task json:lint:fix - task docker:lint - task compose:lint code:lint: cmds: - golangci-lint run code:lint:fix: cmds: - gofmt -w . - golangci-lint run 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