No longer requires dep to be in $GOPATH/bin (#5763)

This commit is contained in:
marcv81 2019-04-27 01:50:06 +08:00 committed by Daniel Nelson
parent 52a00b4300
commit 2fb62d4aec
1 changed files with 1 additions and 2 deletions

View File

@ -160,8 +160,7 @@ def go_get(branch, update=False, no_uncommitted=False):
logging.error("There are uncommitted changes in the current directory.") logging.error("There are uncommitted changes in the current directory.")
return False return False
logging.info("Retrieving dependencies with `dep`...") logging.info("Retrieving dependencies with `dep`...")
run("{}/bin/dep ensure -v -vendor-only".format(os.environ.get("GOPATH", run("dep ensure -v -vendor-only")
os.path.expanduser("~/go"))))
return True return True
def run_tests(race, parallel, timeout, no_vet): def run_tests(race, parallel, timeout, no_vet):