mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-26 15:02:52 -05:00
Include protobuf step in build steps
This commit is contained in:
@@ -104,7 +104,7 @@ def testing(ctx):
|
||||
'image': 'webhippie/golang:1.13',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make build',
|
||||
'make protobuf build',
|
||||
],
|
||||
'volumes': [
|
||||
{
|
||||
@@ -193,7 +193,7 @@ def docker(ctx, arch):
|
||||
'image': 'webhippie/golang:1.13',
|
||||
'pull': 'always',
|
||||
'commands': [
|
||||
'make build',
|
||||
'make protobuf build',
|
||||
],
|
||||
'volumes': [
|
||||
{
|
||||
|
||||
8
Makefile
8
Makefile
@@ -158,16 +158,16 @@ watch:
|
||||
go run github.com/cespare/reflex -c reflex.conf
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-go:
|
||||
GO111MODULE=off go install github.com/golang/protobuf/protoc-gen-go
|
||||
GO111MODULE=off go get -v github.com/golang/protobuf/protoc-gen-go
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-micro:
|
||||
GO111MODULE=on go install github.com/micro/protoc-gen-micro/v2
|
||||
GO111MODULE=on go get -v github.com/micro/protoc-gen-micro/v2
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-microweb:
|
||||
GO111MODULE=off go install github.com/owncloud/protoc-gen-microweb
|
||||
GO111MODULE=off go get -v github.com/owncloud/protoc-gen-microweb
|
||||
|
||||
$(GOPATH)/bin/protoc-gen-swagger:
|
||||
GO111MODULE=off go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
|
||||
GO111MODULE=off go get -v github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger
|
||||
|
||||
$(PROTO_SRC)/settings.pb.go: $(PROTO_SRC)/settings.proto
|
||||
protoc \
|
||||
|
||||
Reference in New Issue
Block a user