Browse Source

Makefile workaround for different binary name for trackomatron (tracko)

pull/1943/head
Greg Szabo 7 years ago
parent
commit
1c5e36725f
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      devops/rpmbuild/Makefile

+ 1
- 0
devops/rpmbuild/Makefile 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/%


Loading…
Cancel
Save