Files
query-orchestration/scripts/proto.yml
T
Michael McGuinness 0ebb8a21a1 Merged in bugfix/cleanup (pull request #10)
Clean Up Testing and Linting

* somescriptcleanup

* mostgolangci

* deplatest

* imageversions

* usingscratch

* movedqueuefrtesting

* finishedunittesting

* linting

* taskfilecontext
2025-01-10 11:12:03 +00:00

24 lines
474 B
YAML

---
# https://taskfile.dev
version: '3'
vars:
PROTO_DIR: serviceInterfaces
API_DIR: api
tasks:
lint:
cmds:
- protolint lint {{.PROTO_DIR}}
lint:fix:
cmds:
- protolint lint -fix {{.PROTO_DIR}}
generate:
cmds:
- |
protoc --proto_path={{.PROTO_DIR}} \
--go_out={{.API_DIR}}/serviceInterfaces --go-grpc_out={{.API_DIR}} \
--go_opt=paths=source_relative --experimental_allow_proto3_optional \
main.proto