Skip to content

Commit

Permalink
[BUILD] Cleanup chaintool build
Browse files Browse the repository at this point in the history
Change-Id: I1d09cc3add7687641e37097a4f63ad3b2119a995
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 23, 2016
1 parent ebd9943 commit 81440cc
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -124,16 +124,12 @@ linter: testenv
@echo "LINT: Running code checks.."
@$(DRUN) hyperledger/fabric-testenv:$(DOCKER_TAG) ./scripts/golinter.sh

build/bin/chaintool: Makefile
%/chaintool: Makefile
@echo "Installing chaintool"
@mkdir -p $(@D)
curl -L https://github.com/hyperledger/fabric-chaintool/releases/download/$(CHAINTOOL_RELEASE)/chaintool > $@
chmod +x $@

%/bin/chaintool: build/bin/chaintool
@mkdir -p $(@D)
@cp $^ $@

# We (re)build a package within a docker context but persist the $GOPATH/pkg
# directory so that subsequent builds are faster
build/docker/bin/%: $(PROJECT_FILES)
Expand Down

0 comments on commit 81440cc

Please sign in to comment.