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.")
return False
logging.info("Retrieving dependencies with `dep`...")
run("{}/bin/dep ensure -v -vendor-only".format(os.environ.get("GOPATH",
os.path.expanduser("~/go"))))
run("dep ensure -v -vendor-only")
return True
def run_tests(race, parallel, timeout, no_vet):