Browse Source

fix glide error: unable to export dependencies to vendor directory

```
[ERROR] Unable to export dependencies to vendor directory: remove /home/vagrant/go/src/github.com/tendermint/tendermint/vendor/golang.org/x/sys/unix: directory not empty
```
pull/360/head
Anton Kalyaev 8 years ago
committed by Ethan Buchman
parent
commit
b096651e10
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      Makefile

+ 5
- 4
Makefile View File

@ -12,19 +12,19 @@ NOVENDOR = go list github.com/tendermint/tendermint/... | grep -v /vendor/
install: get_deps install: get_deps
go install github.com/tendermint/tendermint/cmd/tendermint go install github.com/tendermint/tendermint/cmd/tendermint
build:
build:
go build -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint go build -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
build_race:
build_race:
go build -race -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint go build -race -o build/tendermint github.com/tendermint/tendermint/cmd/tendermint
test: build test: build
go test `${NOVENDOR}` go test `${NOVENDOR}`
test_race: build test_race: build
go test -race `${NOVENDOR}` go test -race `${NOVENDOR}`
test_integrations:
test_integrations:
bash ./test/test.sh bash ./test/test.sh
test100: build test100: build
@ -48,6 +48,7 @@ get_deps:
get_vendor_deps: get_vendor_deps:
go get github.com/Masterminds/glide go get github.com/Masterminds/glide
rm -rf vendor/
glide install glide install
update_deps: update_deps:


Loading…
Cancel
Save