forked from brevis-network/brevis-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (25 loc) · 1.46 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
protoc:
protoc -I ./brevis-proto \
--go_out . \
--go_opt=module=github.com/brevis-network/brevis-sdk \
--go_opt=Mcommon/circuit_data.proto=github.com/brevis-network/brevis-sdk/sdk/proto/commonproto \
--go_opt=Mbrevis/gateway.proto=github.com/brevis-network/brevis-sdk/sdk/proto/gwproto \
--go_opt=Mbrevis/types.proto=github.com/brevis-network/brevis-sdk/sdk/proto/gwproto \
--go_opt=Msdk/prover.proto=github.com/brevis-network/brevis-sdk/sdk/proto/sdkproto \
--go_opt=Msdk/types.proto=github.com/brevis-network/brevis-sdk/sdk/proto/sdkproto \
--go-grpc_out . \
--go-grpc_opt=module=github.com/brevis-network/brevis-sdk \
--go-grpc_opt=Mcommon/circuit_data.proto=github.com/brevis-network/brevis-sdk/sdk/proto/commonproto \
--go-grpc_opt=Mbrevis/gateway.proto=github.com/brevis-network/brevis-sdk/sdk/proto/gwproto \
--go-grpc_opt=Mbrevis/types.proto=github.com/brevis-network/brevis-sdk/sdk/proto/gwproto \
--go-grpc_opt=Msdk/prover.proto=github.com/brevis-network/brevis-sdk/sdk/proto/sdkproto \
--go-grpc_opt=Msdk/types.proto=github.com/brevis-network/brevis-sdk/sdk/proto/sdkproto \
./brevis-proto/common/circuit_data.proto \
./brevis-proto/brevis/*.proto \
./brevis-proto/sdk/*.proto
protoc-grpc-gateway:
protoc -I ./brevis-proto \
--grpc-gateway_out . \
--grpc-gateway_opt=module=github.com/brevis-network/brevis-sdk \
--grpc-gateway_opt=Msdk/prover.proto=github.com/brevis-network/brevis-sdk/sdk/proto/sdkproto \
./brevis-proto/sdk/*.proto