mirror of
https://github.com/QuilibriumNetwork/ceremonyclient.git
synced 2026-02-21 10:27:26 +08:00
* v2.1.0 [omit consensus and adjacent] - this commit will be amended with the full release after the file copy is complete * 2.1.0 main node rollup
17 lines
383 B
Makefile
17 lines
383 B
Makefile
PB = $(wildcard *.proto)
|
|
GO = $(PB:.proto=.pb.go)
|
|
PWD = $(pwd)
|
|
|
|
all: $(GO)
|
|
|
|
%.pb.go: %.proto
|
|
protoc -I=. --go-grpc_out=paths=source_relative:. \
|
|
--grpc-gateway_out . \
|
|
--grpc-gateway_opt logtostderr=true \
|
|
--grpc-gateway_opt paths=source_relative \
|
|
--grpc-gateway_opt generate_unbound_methods=true \
|
|
--go_out=paths=source_relative:. *.proto
|
|
|
|
clean:
|
|
rm -f *.pb.go
|