You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.1 KiB
26 lines
1.1 KiB
Index: src/github.com/hyperledger/burrow/Makefile |
|
--- src/github.com/hyperledger/burrow/Makefile.orig 2020-04-06 09:23:54.373680000 +0200 |
|
+++ src/github.com/hyperledger/burrow/Makefile 2020-04-06 09:25:03.459187000 +0200 |
|
@@ -122,11 +122,11 @@ |
|
# Output commit_hash but only if we have the git repo (e.g. not in docker build |
|
.PHONY: commit_hash |
|
commit_hash: |
|
- @git status &> /dev/null && scripts/commit_hash.sh > commit_hash.txt || true |
|
+ @echo "000000" >commit_hash.txt |
|
|
|
# build all targets in github.com/hyperledger/burrow |
|
.PHONY: build |
|
-build: check build_burrow build_burrow_debug |
|
+build: build_burrow |
|
|
|
# build all targets in github.com/hyperledger/burrow with checks for race conditions |
|
.PHONY: build_race |
|
@@ -135,7 +135,7 @@ |
|
# build burrow and vent |
|
.PHONY: build_burrow |
|
build_burrow: commit_hash |
|
- go build $(BURROW_BUILD_FLAGS) -ldflags "-extldflags '-static' \ |
|
+ go build $(BURROW_BUILD_FLAGS) -v -ldflags "-extldflags '-static' \ |
|
-X github.com/hyperledger/burrow/project.commit=$(shell cat commit_hash.txt) \ |
|
-X github.com/hyperledger/burrow/project.date=$(shell date '+%Y-%m-%d')" \ |
|
-o ${REPO}/bin/burrow$(BURROW_BUILD_SUFFIX) ./cmd/burrow
|
|
|