Makefile workaround for different binary name for trackomatron (tracko)

This commit is contained in:
Greg Szabo
2017-07-06 20:08:36 +00:00
parent ccf13fae0c
commit 1c5e36725f

View File

@@ -81,6 +81,7 @@ build-trackomatron: git-branch
go get -d -u go github.com/tendermint/trackomatron || echo "Workaround so there is no error message."
cd $(GOPATH)/src/github.com/tendermint/trackomatron && git checkout "$(GIT_BRANCH)" && git pull
$(MAKE) -C $(GOPATH)/src/github.com/tendermint/trackomatron get_vendor_deps install
@echo "Workaround: trackomatron package has tracko as the binary - trackomatron needed to get the version number" && rm -rf $(GOPATH)/bin/trackomatron && ln -s $(GOPATH)/bin/tracko $(GOPATH)/bin/trackomatron
@echo "*** Built trackomatron"
version-%: $(GOPATH)/bin/%