diff --git a/Makefile b/Makefile index a09bceb..a55a1eb 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,10 @@ all: install build: install_deps GOPATH=$(GOPATH) $(GO) build +test: install_deps + GOPATH=$(GOPATH) $(GO) test -cover $(PACKAGES) + GOPATH=$(GOPATH) $(GO) vet $(PACKAGES) + fmt: GOPATH=$(GOPATH) find . -name "*.go" | xargs gofmt -w diff --git a/glide.yaml b/glide.yaml index 2fa0a82..9d89745 100644 --- a/glide.yaml +++ b/glide.yaml @@ -1,4 +1,4 @@ -package: github.com/wywygmbh/sentinel-zeroconf +package: github.com/wywygmbh/consul-master-election-tagger import: - package: github.com/garyburd/redigo subpackages: