Makefile: update dependencies

Prevent build failures which may occur when dependencies is
not up to date by updating them with the go get -u flag.

Add the go get -f flag as well, to override the check that
each package has been checked out from the repo implied by
its import path.
This commit is contained in:
Emil Hessman 2015-01-17 08:55:52 +01:00
parent 1298baf30d
commit 5f3d19db38
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,8 @@ cov:
deps: deps:
@echo "--> Installing build dependencies" @echo "--> Installing build dependencies"
@go get -d -v ./... @go get -d -f -u -v ./...
@echo $(DEPS) | xargs -n1 go get -d @echo $(DEPS) | xargs -n1 go get -d -f -u
test: deps test: deps
./scripts/verify_no_uuid.sh ./scripts/verify_no_uuid.sh