-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update with new design that blob entry stores reference
- Loading branch information
Showing
18 changed files
with
12,751 additions
and
22,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ PWD := $(shell pwd) | |
GOPATH := $(shell $(GO) env GOPATH) | ||
PROTOC := $(shell which protoc) | ||
PROTOC_VER := $(shell protoc --version) | ||
INSTALL_PATH := $(PWD)/bin | ||
|
||
all: generate-proto | ||
|
||
|
@@ -12,10 +11,8 @@ build: | |
|
||
generate-proto: export protoc:=${PWD}/cmake-build/protobuf/protobuf-build/protoc | ||
generate-proto: build | ||
@echo "Generate proto files" | ||
@echo "Installing protoc-gen-go to ./bin" && GOBIN=$(INSTALL_PATH) go install google.golang.org/protobuf/cmd/[email protected] | ||
@echo "Installing protoc-gen-go-grpc to ./bin" && GOBIN=$(INSTALL_PATH) go install google.golang.org/grpc/cmd/[email protected] | ||
@(env bash $(PWD)/scripts/proto_gen_go.sh $(INSTALL_PATH)) | ||
@which protoc-gen-go 1>/dev/null || (echo "Installing protoc-gen-go" && go install github.com/golang/protobuf/[email protected]) | ||
@(env bash $(PWD)/scripts/proto_gen_go.sh) | ||
|
||
clean: | ||
@echo "Cleaning up all the generated files" | ||
|
Oops, something went wrong.