Skip to content

Commit 81440cc

Browse files
committed
[BUILD] Cleanup chaintool build
Change-Id: I1d09cc3add7687641e37097a4f63ad3b2119a995 Signed-off-by: Greg Haskins <[email protected]>
1 parent ebd9943 commit 81440cc

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Makefile

+1-5
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,12 @@ linter: testenv
124124
@echo "LINT: Running code checks.."
125125
@$(DRUN) hyperledger/fabric-testenv:$(DOCKER_TAG) ./scripts/golinter.sh
126126

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

133-
%/bin/chaintool: build/bin/chaintool
134-
@mkdir -p $(@D)
135-
@cp $^ $@
136-
137133
# We (re)build a package within a docker context but persist the $GOPATH/pkg
138134
# directory so that subsequent builds are faster
139135
build/docker/bin/%: $(PROJECT_FILES)

0 commit comments

Comments
 (0)