diff --git a/Makefile b/Makefile index c6b484a608..6782e70cae 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +GOTOOLS = github.com/mitchellh/gox golang.org/x/tools/cmd/stringer DEPS = $(shell go list -f '{{range .TestImports}}{{.}} {{end}}' ./...) PACKAGES = $(shell go list ./...) VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \ @@ -26,11 +27,11 @@ cov: deps: @echo "--> Installing build dependencies" + @go get -v $(GOTOOLS) @go get -d -v ./... $(DEPS) updatedeps: deps - go get -u github.com/mitchellh/gox - go get -u golang.org/x/tools/cmd/stringer + go get -u -v $(GOTOOLS) go list ./... \ | xargs go list -f '{{join .Deps "\n"}}' \ | grep -v github.com/hashicorp/consul \ @@ -43,9 +44,6 @@ test: deps @./scripts/test.sh @$(MAKE) vet -integ: - go list ./... | INTEG_TESTS=yes xargs -n1 go test - cover: deps ./scripts/verify_no_uuid.sh go list ./... | xargs -n1 go test --cover @@ -76,4 +74,4 @@ web: web-push: ./scripts/website_push.sh -.PHONY: all bin dev dist cov deps integ test vet web web-push generate test-nodep +.PHONY: all bin dev dist cov deps test vet web web-push generate test-nodep diff --git a/README.md b/README.md index 51283a1fbc..4cb53a6dc5 100644 --- a/README.md +++ b/README.md @@ -43,7 +43,7 @@ http://www.consul.io/docs ## Developing Consul If you wish to work on Consul itself, you'll first need [Go](https://golang.org) -installed (version 1.4+ is _required_). Make sure you have Go properly installed, +installed (version 1.5.1+ is _required_). Make sure you have Go properly installed, including setting up your [GOPATH](https://golang.org/doc/code.html#GOPATH). Next, clone this repository into `$GOPATH/src/github.com/hashicorp/consul` and @@ -66,7 +66,7 @@ format the code according to Go standards. ### Building Consul on Windows -Make sure Go 1.4+ is installed on your system and that the Go command is in your +Make sure Go 1.5.1+ is installed on your system and that the Go command is in your %PATH%. For building Consul on Windows, you also need to have MinGW installed. diff --git a/Vagrantfile b/Vagrantfile index f21de15fe6..d364d6b97e 100755 --- a/Vagrantfile +++ b/Vagrantfile @@ -5,6 +5,7 @@ VAGRANTFILE_API_VERSION = '2' @script = <