Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ integration.docker: docker
#-- code generaion
#-----------------

generate: $(BINDIR)/gogofast
generate: $(BINDIR)/gogofast $(BINDIR)/validate
@echo "--> generating pb.go files"
$(SHELL) build/generate_protos.sh

Expand Down Expand Up @@ -152,3 +152,7 @@ tools.glide:
$(BINDIR)/gogofast: vendor
@echo "--> building $@"
@go build -o $@ vendor/github.com/gogo/protobuf/protoc-gen-gogofast/main.go

$(BINDIR)/validate: vendor
@echo "--> building $@"
@go build -o $@ vendor/github.com/lyft/protoc-gen-validate/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ do
then
echo "Generating protos ${path} ..."
$protoc ${protocarg} ${path}/*.proto \
--plugin=protoc-gen-gogofast=${root}/bin/gogofast --gogofast_out=${gogoarg}:.
--plugin=protoc-gen-gogofast=${root}/bin/gogofast --gogofast_out=${gogoarg}:. \
--plugin=protoc-gen-validate=${root}/bin/validate --validate_out="lang=gogo:."
fi
done
Loading