mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-06 13:26:23 +00:00
Remove references to make get_vendor_deps
This commit is contained in:
@@ -42,8 +42,7 @@ dependencies so we can get away with telling people they can just `go get` our
|
||||
software.
|
||||
|
||||
Since some dependencies are not under our control, a third party may break our
|
||||
build, in which case we can fall back on `dep ensure` (or `make
|
||||
get_vendor_deps`). Even for dependencies under our control, dep helps us to
|
||||
build, in which case we can fall back on `go mod tidy`. Even for dependencies under our control, dep helps us to
|
||||
keep multiple repos in sync as they evolve. Anything with an executable, such
|
||||
as apps, tools, and the core, should use dep.
|
||||
|
||||
|
||||
@@ -19,7 +19,6 @@ RUN mkdir -p /go/src/github.com/tendermint/tendermint && \
|
||||
git clone https://github.com/tendermint/tendermint . && \
|
||||
git checkout develop && \
|
||||
make get_tools && \
|
||||
make get_vendor_deps && \
|
||||
make install && \
|
||||
cd - && \
|
||||
rm -rf /go/src/github.com/tendermint/tendermint && \
|
||||
|
||||
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 && make get_vendor_deps'
|
||||
su - vagrant -c 'cd /home/vagrant/go/src/github.com/tendermint/tendermint && make get_tools'
|
||||
SHELL
|
||||
end
|
||||
|
||||
@@ -7,7 +7,6 @@ clone_folder: c:\go\path\src\github.com\tendermint\tendermint
|
||||
before_build:
|
||||
- cmd: set GOPATH=%GOROOT%\path
|
||||
- cmd: set PATH=%GOPATH%\bin;%PATH%
|
||||
- cmd: make get_vendor_deps
|
||||
build_script:
|
||||
- cmd: make test
|
||||
test: off
|
||||
|
||||
@@ -16,7 +16,6 @@ cd $GOPATH/src/github.com/tendermint
|
||||
git clone https://github.com/tendermint/tendermint.git
|
||||
cd tendermint
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install_abci
|
||||
```
|
||||
|
||||
|
||||
@@ -28,7 +28,6 @@ Then run
|
||||
go get github.com/tendermint/tendermint
|
||||
cd $GOPATH/src/github.com/tendermint/tendermint
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install_abci
|
||||
```
|
||||
|
||||
|
||||
@@ -29,7 +29,6 @@ cd tendermint
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
```
|
||||
|
||||
### Compile
|
||||
@@ -71,7 +70,6 @@ To upgrade, run
|
||||
```
|
||||
cd $GOPATH/src/github.com/tendermint/tendermint
|
||||
git pull origin master
|
||||
make get_vendor_deps
|
||||
make install
|
||||
```
|
||||
|
||||
|
||||
@@ -75,6 +75,5 @@ Each of the connections is handled via two separate goroutines.
|
||||
## Development
|
||||
|
||||
```
|
||||
make get_vendor_deps
|
||||
make test
|
||||
```
|
||||
|
||||
@@ -88,6 +88,5 @@ websocket.
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make test
|
||||
```
|
||||
|
||||
@@ -15,7 +15,7 @@ dependencies:
|
||||
|
||||
test:
|
||||
override:
|
||||
- cd $PROJECT_PATH && make get_tools && make get_vendor_deps && bash ./test.sh
|
||||
- cd $PROJECT_PATH && make get_tools && bash ./test.sh
|
||||
post:
|
||||
- cd "$PROJECT_PATH" && bash <(curl -s https://codecov.io/bash) -f coverage.txt
|
||||
- cd "$PROJECT_PATH" && mv coverage.txt "${CIRCLE_ARTIFACTS}"
|
||||
|
||||
@@ -32,7 +32,6 @@ cd $GOPATH/src/$REPO
|
||||
## build
|
||||
git checkout zach/ansible
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make build
|
||||
|
||||
# generate an ssh key
|
||||
|
||||
@@ -31,9 +31,6 @@ XC_EXCLUDE=${XC_EXCLUDE:-" darwin/arm solaris/amd64 solaris/386 solaris/arm free
|
||||
# Make sure build tools are available.
|
||||
make get_tools
|
||||
|
||||
# Get VENDORED dependencies
|
||||
make get_vendor_deps
|
||||
|
||||
# Build!
|
||||
# ldflags: -s Omit the symbol table and debug information.
|
||||
# -w Omit the DWARF symbol table.
|
||||
|
||||
@@ -32,7 +32,6 @@ git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
||||
@@ -47,7 +47,6 @@ cd "$GOPATH/src/$REPO"
|
||||
# build & install master
|
||||
git checkout $BRANCH
|
||||
gmake get_tools
|
||||
gmake get_vendor_deps
|
||||
gmake install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
||||
@@ -37,5 +37,4 @@ git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install
|
||||
|
||||
@@ -41,7 +41,6 @@ git checkout $BRANCH
|
||||
# XXX: uncomment if branch isn't master
|
||||
# git fetch origin $BRANCH
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make install
|
||||
|
||||
# the binary is located in $GOPATH/bin
|
||||
|
||||
@@ -20,7 +20,6 @@ COPY . $REPO
|
||||
# Install the vendored dependencies
|
||||
# docker caching prevents reinstall on code change!
|
||||
RUN make get_tools
|
||||
RUN make get_vendor_deps
|
||||
|
||||
# install ABCI CLI
|
||||
RUN make install_abci
|
||||
|
||||
@@ -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 get_vendor_deps build
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/tendermint/tendermint get_tools build
|
||||
cp $(GOPATH)/src/github.com/tendermint/tendermint/build/tendermint $(GOPATH)/bin
|
||||
@echo "*** Built tendermint"
|
||||
|
||||
@@ -72,7 +72,7 @@ build-ethermint: git-branch gopath-setup
|
||||
@echo "*** Building ethermint"
|
||||
go get -d -u github.com/tendermint/ethermint/cmd/ethermint
|
||||
cd $(GOPATH)/src/github.com/tendermint/ethermint && git checkout "$(GIT_BRANCH)" && git pull
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/tendermint/ethermint get_vendor_deps build
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/tendermint/ethermint build
|
||||
cp $(GOPATH)/src/github.com/tendermint/ethermint/build/ethermint $(GOPATH)/bin
|
||||
@echo "*** Built ethermint"
|
||||
|
||||
@@ -80,14 +80,14 @@ build-gaia: git-branch gopath-setup
|
||||
@echo "*** Building gaia"
|
||||
go get -d -u go github.com/cosmos/gaia || echo "Workaround for go downloads."
|
||||
cd $(GOPATH)/src/github.com/cosmos/gaia && git checkout "$(GIT_BRANCH)" && git pull
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/gaia get_vendor_deps install
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/gaia install
|
||||
@echo "*** Built gaia"
|
||||
|
||||
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 get_vendor_deps build
|
||||
export PATH=$(GOPATH)/bin:$(PATH) && $(MAKE) -C $(GOPATH)/src/github.com/cosmos/cosmos-sdk get_tools build
|
||||
cp $(GOPATH)/src/github.com/cosmos/cosmos-sdk/build/basecoind $(GOPATH)/bin/basecoind
|
||||
@echo "*** Built basecoind from cosmos-sdk"
|
||||
|
||||
|
||||
@@ -9,4 +9,3 @@ RUN make get_tools
|
||||
|
||||
COPY . /go/src/github.com/tendermint/tendermint/tools/tm-bench
|
||||
|
||||
RUN make get_vendor_deps
|
||||
|
||||
@@ -100,6 +100,5 @@ Each of the connections is handled via two separate goroutines.
|
||||
## Development
|
||||
|
||||
```
|
||||
make get_vendor_deps
|
||||
make test
|
||||
```
|
||||
|
||||
@@ -9,4 +9,3 @@ RUN make get_tools
|
||||
|
||||
COPY . /go/src/github.com/tendermint/tools/tm-monitor
|
||||
|
||||
RUN make get_vendor_deps
|
||||
|
||||
@@ -87,6 +87,5 @@ websocket.
|
||||
|
||||
```
|
||||
make get_tools
|
||||
make get_vendor_deps
|
||||
make test
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user