From b096651e108d5d6fd729ca29649bf29c9ebc3a2d Mon Sep 17 00:00:00 2001 From: Anton Kalyaev Date: Wed, 4 Jan 2017 00:32:39 +0400 Subject: [PATCH] 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 ``` --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 6a3b2381f..8835722b8 100644 --- a/Makefile +++ b/Makefile @@ -12,19 +12,19 @@ NOVENDOR = go list github.com/tendermint/tendermint/... | grep -v /vendor/ install: get_deps go install github.com/tendermint/tendermint/cmd/tendermint -build: +build: 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 test: build go test `${NOVENDOR}` - + test_race: build go test -race `${NOVENDOR}` -test_integrations: +test_integrations: bash ./test/test.sh test100: build @@ -48,6 +48,7 @@ get_deps: get_vendor_deps: go get github.com/Masterminds/glide + rm -rf vendor/ glide install update_deps: