36147379c3
* feat: add go protobuf generation * ci: check go protbuf generation * refactor: use 'namely/protoc-all:1.51_1' to compile the proto instead of locally binary * refactor: no need to add the 'bin/' igore * chore: modify code format * refactor: add some comments to describe our modification
17 lines
279 B
Makefile
17 lines
279 B
Makefile
.PHONY: all rust go go-deps
|
|
|
|
BUILDER_CONTAINER=namely/protoc-all:1.51_1
|
|
|
|
all: rust go
|
|
|
|
rust:
|
|
cargo build
|
|
|
|
go: go-deps
|
|
docker run -t -w /greptime-proto \
|
|
--entrypoint ./scripts/generate-go.sh \
|
|
-v ${PWD}:/greptime-proto ${BUILDER_CONTAINER}
|
|
|
|
go-deps:
|
|
go mod download
|