0ebb8a21a1
Clean Up Testing and Linting * somescriptcleanup * mostgolangci * deplatest * imageversions * usingscratch * movedqueuefrtesting * finishedunittesting * linting * taskfilecontext
24 lines
474 B
YAML
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
|