17 lines
579 B
Makefile
17 lines
579 B
Makefile
|
all:
|
||
|
protoc -I/usr/local/include -I. \
|
||
|
-I${GOPATH}/src \
|
||
|
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||
|
--go_out=plugins=grpc:. \
|
||
|
clair.proto
|
||
|
protoc -I/usr/local/include -I. \
|
||
|
-I${GOPATH}/src \
|
||
|
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||
|
--grpc-gateway_out=logtostderr=true:. \
|
||
|
clair.proto
|
||
|
protoc -I/usr/local/include -I. \
|
||
|
-I${GOPATH}/src \
|
||
|
-I${GOPATH}/src/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis \
|
||
|
--swagger_out=logtostderr=true:. \
|
||
|
clair.proto
|
||
|
go generate .
|