mirror of
https://github.com/fluencelabs/tendermint
synced 2025-04-24 14:22:16 +00:00
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:
parent
21d46dea93
commit
522a849ba9
@ -15,7 +15,7 @@ RUN apt-get update && apt-get install -y \
|
||||
|
||||
COPY Gopkg.toml /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
|
||||
RUN dep ensure -vendor-only
|
||||
|
2
Vagrantfile
vendored
2
Vagrantfile
vendored
@ -57,6 +57,6 @@ Vagrant.configure("2") do |config|
|
||||
|
||||
# get all deps and tools, ready to install/test
|
||||
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
|
||||
end
|
||||
|
@ -15,7 +15,7 @@ mkdir -p $GOPATH/src/github.com/tendermint
|
||||
cd $GOPATH/src/github.com/tendermint
|
||||
git clone https://github.com/tendermint/tendermint.git
|
||||
cd tendermint
|
||||
make get_tools
|
||||
make tools
|
||||
make install_abci
|
||||
```
|
||||
|
||||
|
@ -27,7 +27,7 @@ Then run
|
||||
```
|
||||
go get github.com/tendermint/tendermint
|
||||
cd $GOPATH/src/github.com/tendermint/tendermint
|
||||
make get_tools
|
||||
make tools
|
||||
make install_abci
|
||||
```
|
||||
|
||||
|
@ -28,7 +28,7 @@ cd tendermint
|
||||
### Get Tools & Dependencies
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make tools
|
||||
```
|
||||
|
||||
### Compile
|
||||
|
@ -87,6 +87,6 @@ websocket.
|
||||
## Development
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make tools
|
||||
make test
|
||||
```
|
||||
|
@ -30,7 +30,7 @@ go get $REPO
|
||||
cd $GOPATH/src/$REPO
|
||||
|
||||
## build
|
||||
make get_tools
|
||||
make tools
|
||||
make build
|
||||
|
||||
# generate an ssh key
|
||||
|
@ -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 "}
|
||||
|
||||
# Make sure build tools are available.
|
||||
make get_tools
|
||||
make tools
|
||||
|
||||
# Build!
|
||||
# ldflags: -s Omit the symbol table and debug information.
|
||||
|
@ -31,7 +31,7 @@ cd "$GOPATH/src/$REPO"
|
||||
git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make tools
|
||||
make install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
@ -46,7 +46,7 @@ cd "$GOPATH/src/$REPO"
|
||||
|
||||
# build & install master
|
||||
git checkout $BRANCH
|
||||
gmake get_tools
|
||||
gmake tools
|
||||
gmake install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
@ -36,5 +36,5 @@ cd $GOPATH/src/$REPO
|
||||
git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make tools
|
||||
make install
|
||||
|
@ -40,7 +40,7 @@ cd "$GOPATH/src/$REPO"
|
||||
git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make tools
|
||||
make install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
@ -64,7 +64,7 @@ build-tendermint: git-branch gopath-setup
|
||||
@echo "*** Building tendermint"
|
||||
go get -d -u github.com/tendermint/tendermint/cmd/tendermint
|
||||
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
|
||||
@echo "*** Built tendermint"
|
||||
|
||||
@ -87,7 +87,7 @@ build-basecoind: git-branch gopath-setup
|
||||
@echo "*** Building basecoind from cosmos-sdk"
|
||||
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
|
||||
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
|
||||
@echo "*** Built basecoind from cosmos-sdk"
|
||||
|
||||
|
@ -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/
|
||||
|
||||
RUN make get_tools
|
||||
RUN make tools
|
||||
|
||||
COPY . /go/src/github.com/tendermint/tendermint/tools/tm-bench
|
||||
|
||||
|
@ -5,7 +5,7 @@ WORKDIR /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
|
||||
|
||||
|
@ -86,6 +86,6 @@ websocket.
|
||||
## Development
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make tools
|
||||
make test
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user