Skip to content
Snippets Groups Projects
Commit 4a40f2fb authored by Sean Young's avatar Sean Young
Browse files

Don't run protoc during regular build


protoc might not be available.

Signed-off-by: default avatarSean Young <sean.young@monax.io>
parent 801fa7b0
No related branches found
No related tags found
No related merge requests found
......@@ -94,7 +94,7 @@ reinstall_vendor: erase_vendor
# delete the vendor directy and pull back using dep lock and constraints file
# will exit with an error if the working directory is not clean (any missing files or new
# untracked ones)
.PHONY: ensure_vendor
.PHONY: ensure_vendor protobuf
ensure_vendor: reinstall_vendor
@scripts/is_checkout_dirty.sh
......@@ -120,7 +120,7 @@ build_race: check build_race_db build_race_client
# build burrow
.PHONY: build_db
build_db: commit_hash protobuf
build_db: commit_hash
go build -ldflags "-extldflags '-static' \
-X github.com/hyperledger/burrow/project.commit=$(shell cat commit_hash.txt)" \
-o ${REPO}/bin/burrow ./cmd/burrow
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment