b1f8ac453b
feat!: base template * first bit of templating * codeowners * linuxbased * restart * baseline project * add grpc api and basic integration test * startqueue * queueMsg * splitscripts * migrations * queueintegrationtest * gateway
17 lines
483 B
YAML
17 lines
483 B
YAML
# https://taskfile.dev
|
|
|
|
version: '3'
|
|
|
|
vars:
|
|
PROTO_DIR_WITH_CONTEXT: "{{.CONTEXT}}/{{.PROTOBUF_DIR}}"
|
|
|
|
tasks:
|
|
lint:
|
|
cmds:
|
|
- protolint lint {{.PROTO_DIR_WITH_CONTEXT}}
|
|
lint:fix:
|
|
cmds:
|
|
- protolint lint -fix {{.PROTO_DIR_WITH_CONTEXT}}
|
|
generate:
|
|
cmds:
|
|
- protoc --proto_path={{.PROTO_DIR_WITH_CONTEXT}} --go_out={{.CONTEXT}}/{{.API_GRPC_DIR}}/spec --go-grpc_out={{.CONTEXT}}/{{.API_GRPC_DIR}} --go_opt=paths=source_relative main.proto |