Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: build release test fmt fmt-check clippy check clean docker-build docker-run \
release-patch release-minor release-major github-release \
publish publish-dry-run bench bench-core bench-protocol bench-compare bench-quick \
helm-lint helm-template proto-gen
helm-lint helm-template proto-gen proto-go

# extract the workspace version from the root Cargo.toml
VERSION = $(shell sed -n 's/^version = "\(.*\)"/\1/p' Cargo.toml)
Expand Down Expand Up @@ -135,6 +135,9 @@ publish:
proto-gen:
cargo build -p ember-server --features grpc

proto-go:
cd clients/ember-go && $(MAKE) proto-gen

# --- helm ---

helm-lint:
Expand Down
10 changes: 10 additions & 0 deletions clients/ember-go/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.PHONY: proto-gen test

proto-gen:
protoc --go_out=. --go_opt=module=github.com/kacy/ember-go \
--go-grpc_out=. --go-grpc_opt=module=github.com/kacy/ember-go \
--proto_path=../../proto \
ember/v1/ember.proto

test:
go test -v ./...
Loading