Skip to content

Commit

Permalink
add build.sh
Browse files Browse the repository at this point in the history
Signed-off-by: luyanbo <robert.lyb@alibaba-inc.com>
  • Loading branch information
robberphex committed Jan 3, 2022
1 parent 3ff9ec2 commit 3444bea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/bash
protoc -I pkg/types/v2/ \
-I${GOPATH}/src/github.com/protocolbuffers/protobuf/src/ \
--go_out=pkg/types/v2/ --go_opt=paths=source_relative \
--go-grpc_out=pkg/types/v2/ --go-grpc_opt=paths=source_relative \
pkg/types/v2/cni.proto

0 comments on commit 3444bea

Please sign in to comment.