Files
query-orchestration/scripts/Taskfile.yml
T
Michael McGuinness 81e7223560 Merged in feature/textextraction (pull request #110)
Text Extraction

* bases

* go

* splitting

* structure

* movetoasync

* movetoasync

* settinguptrigger

* reorder

* storevent

* standardisepollingvalidation

* unittests

* fixlint

* fixlint

* awscfg

* generatesample

* followthrough

* tests

* clena

* store

* externalidcleanup

* clientid

* local

* baseunittests

* putobjecttests

* tests
2025-04-02 18:50:03 +00:00

87 lines
1.6 KiB
YAML

---
# https://taskfile.dev
version: "3"
vars:
CONTEXT: ..
OUT_DIR: out
includes:
test:
dir: "{{.CONTEXT}}"
taskfile: tests.yml
docker:
dir: "."
taskfile: docker.yml
openapi:
dir: "{{.CONTEXT}}"
taskfile: openapi-scripts.yml
compose:
dir: "{{.CONTEXT}}"
taskfile: local-deployments.yml
db:
dir: "{{.CONTEXT}}"
taskfile: database.yml
tasks:
fullsuite:
- task: build
- task: lint
- task: test:unit
- task: test:endtoend
precommit:
- task: lint:short
deps:tidy:
- go mod tidy
- go mod vendor
build:
- task: deps:tidy
- task: generate
- task: docker:build
generate:clean:
run: once
deps:
- db:generate:clean
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
generate:
run: once
deps:
- db:generate
- openapi:generate
- test:mocks:generate
- docs:generate
cmds:
- go generate ./...
lint:
deps:
- generate
cmds:
- task: go:lint
- task: yaml:lint
- task: json:lint
- task: docker:lint
- task: openapi:lint
- task: db:lint
- task: compose:lint
lint:short:
deps:
- go:lint
- yaml:lint
- json:lint
- docker:lint
- openapi:lint
- compose:lint:short
go:lint: golangci-lint run --fix {{.CLI_ARGS}}
yaml:lint: yamllint . -s {{.CLI_ARGS}}
json:lint: jsonlint devbox.json -q -s -i {{.CLI_ARGS}}
docs:generate:
run: once
cmds:
- gomarkdoc --template-file file=docs/templates/root.gotxt ./cmd/...
aws:login: aws sso login