get_tools = tools (#3988)

- in the makefile update `get_tools` was changed to just `tools`

Signed-off-by: Marko Baricevic <marbar3778@yahoo.com>
This commit is contained in:
Marko 2019-09-16 10:46:10 +02:00 committed by GitHub
parent 21d46dea93
commit 522a849ba9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
16 changed files with 17 additions and 17 deletions

View File

@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
COPY Gopkg.toml /go/src/github.com/tendermint/abci/ COPY Gopkg.toml /go/src/github.com/tendermint/abci/
COPY Gopkg.lock /go/src/github.com/tendermint/abci/ COPY Gopkg.lock /go/src/github.com/tendermint/abci/
RUN make get_tools RUN make tools
# see https://github.com/golang/dep/issues/1312 # see https://github.com/golang/dep/issues/1312
RUN dep ensure -vendor-only RUN dep ensure -vendor-only

2
Vagrantfile vendored
View File

@ -57,6 +57,6 @@ Vagrant.configure("2") do |config|
# get all deps and tools, ready to install/test # get all deps and tools, ready to install/test
su - vagrant -c 'source /home/vagrant/.bash_profile' su - vagrant -c 'source /home/vagrant/.bash_profile'
su - vagrant -c 'cd /home/vagrant/go/src/github.com/tendermint/tendermint && make get_tools' su - vagrant -c 'cd /home/vagrant/go/src/github.com/tendermint/tendermint && make tools'
SHELL SHELL
end end

View File

@ -15,7 +15,7 @@ mkdir -p $GOPATH/src/github.com/tendermint
cd $GOPATH/src/github.com/tendermint cd $GOPATH/src/github.com/tendermint
git clone https://github.com/tendermint/tendermint.git git clone https://github.com/tendermint/tendermint.git
cd tendermint cd tendermint
make get_tools make tools
make install_abci make install_abci
``` ```

View File

@ -27,7 +27,7 @@ Then run
``` ```
go get github.com/tendermint/tendermint go get github.com/tendermint/tendermint
cd $GOPATH/src/github.com/tendermint/tendermint cd $GOPATH/src/github.com/tendermint/tendermint
make get_tools make tools
make install_abci make install_abci
``` ```

View File

@ -28,7 +28,7 @@ cd tendermint
### Get Tools & Dependencies ### Get Tools & Dependencies
``` ```
make get_tools make tools
``` ```
### Compile ### Compile

View File

@ -87,6 +87,6 @@ websocket.
## Development ## Development
``` ```
make get_tools make tools
make test make test
``` ```

View File

@ -30,7 +30,7 @@ go get $REPO
cd $GOPATH/src/$REPO cd $GOPATH/src/$REPO
## build ## build
make get_tools make tools
make build make build
# generate an ssh key # generate an ssh key

View File

@ -29,7 +29,7 @@ XC_OS=${XC_OS:-"solaris darwin freebsd linux windows"}
XC_EXCLUDE=${XC_EXCLUDE:-" darwin/arm solaris/amd64 solaris/386 solaris/arm freebsd/amd64 windows/arm "} XC_EXCLUDE=${XC_EXCLUDE:-" darwin/arm solaris/amd64 solaris/386 solaris/arm freebsd/amd64 windows/arm "}
# Make sure build tools are available. # Make sure build tools are available.
make get_tools make tools
# Build! # Build!
# ldflags: -s Omit the symbol table and debug information. # ldflags: -s Omit the symbol table and debug information.

View File

@ -31,7 +31,7 @@ cd "$GOPATH/src/$REPO"
git checkout $BRANCH git checkout $BRANCH
# XXX: uncomment if branch isn't master # XXX: uncomment if branch isn't master
# git fetch origin $BRANCH # git fetch origin $BRANCH
make get_tools make tools
make install make install
# the binary is located in $GOPATH/bin # the binary is located in $GOPATH/bin

View File

@ -46,7 +46,7 @@ cd "$GOPATH/src/$REPO"
# build & install master # build & install master
git checkout $BRANCH git checkout $BRANCH
gmake get_tools gmake tools
gmake install gmake install
# the binary is located in $GOPATH/bin # the binary is located in $GOPATH/bin

View File

@ -36,5 +36,5 @@ cd $GOPATH/src/$REPO
git checkout $BRANCH git checkout $BRANCH
# XXX: uncomment if branch isn't master # XXX: uncomment if branch isn't master
# git fetch origin $BRANCH # git fetch origin $BRANCH
make get_tools make tools
make install make install

View File

@ -40,7 +40,7 @@ cd "$GOPATH/src/$REPO"
git checkout $BRANCH git checkout $BRANCH
# XXX: uncomment if branch isn't master # XXX: uncomment if branch isn't master
# git fetch origin $BRANCH # git fetch origin $BRANCH
make get_tools make tools
make install make install
# the binary is located in $GOPATH/bin # the binary is located in $GOPATH/bin

View File

@ -64,7 +64,7 @@ build-tendermint: git-branch gopath-setup
@echo "*** Building tendermint" @echo "*** Building tendermint"
go get -d -u github.com/tendermint/tendermint/cmd/tendermint go get -d -u github.com/tendermint/tendermint/cmd/tendermint
cd $(GOPATH)/src/github.com/tendermint/tendermint && git checkout "$(GIT_BRANCH)" && git pull cd $(GOPATH)/src/github.com/tendermint/tendermint && git checkout "$(GIT_BRANCH)" && git pull
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/tendermint/tendermint get_tools build export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/tendermint/tendermint tools build
cp $(GOPATH)/src/github.com/tendermint/tendermint/build/tendermint $(GOPATH)/bin cp $(GOPATH)/src/github.com/tendermint/tendermint/build/tendermint $(GOPATH)/bin
@echo "*** Built tendermint" @echo "*** Built tendermint"
@ -87,7 +87,7 @@ build-basecoind: git-branch gopath-setup
@echo "*** Building basecoind from cosmos-sdk" @echo "*** Building basecoind from cosmos-sdk"
go get -d -u github.com/cosmos/cosmos-sdk/examples/basecoin/cmd/basecoind go get -d -u github.com/cosmos/cosmos-sdk/examples/basecoin/cmd/basecoind
cd $(GOPATH)/src/github.com/cosmos/cosmos-sdk && git checkout "$(GIT_BRANCH)" && git pull cd $(GOPATH)/src/github.com/cosmos/cosmos-sdk && git checkout "$(GIT_BRANCH)" && git pull
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/cosmos-sdk get_tools build export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/cosmos-sdk tools build
cp $(GOPATH)/src/github.com/cosmos/cosmos-sdk/build/basecoind $(GOPATH)/bin/basecoind cp $(GOPATH)/src/github.com/cosmos/cosmos-sdk/build/basecoind $(GOPATH)/bin/basecoind
@echo "*** Built basecoind from cosmos-sdk" @echo "*** Built basecoind from cosmos-sdk"

View File

@ -5,7 +5,7 @@ WORKDIR /go/src/github.com/tendermint/tendermint/tools/tm-bench
COPY Makefile /go/src/github.com/tendermint/tendermint/tools/tm-bench/ COPY Makefile /go/src/github.com/tendermint/tendermint/tools/tm-bench/
RUN make get_tools RUN make tools
COPY . /go/src/github.com/tendermint/tendermint/tools/tm-bench COPY . /go/src/github.com/tendermint/tendermint/tools/tm-bench

View File

@ -5,7 +5,7 @@ WORKDIR /go/src/github.com/tendermint/tools/tm-monitor
COPY Makefile /go/src/github.com/tendermint/tools/tm-monitor/ COPY Makefile /go/src/github.com/tendermint/tools/tm-monitor/
RUN make get_tools RUN make tools
COPY . /go/src/github.com/tendermint/tools/tm-monitor COPY . /go/src/github.com/tendermint/tools/tm-monitor

View File

@ -86,6 +86,6 @@ websocket.
## Development ## Development
``` ```
make get_tools make tools
make test make test
``` ```