| # Many Go tools take file globs or directories as arguments instead of packages. |
| export GO15VENDOREXPERIMENT=1 |
| glide --version || go get github.com/Masterminds/glide |
| go test -cover -race ./... |
| go get github.com/wadey/gocovmerge |
| go get github.com/mattn/goveralls |
| go get golang.org/x/tools/cmd/cover |
| go get golang.org/x/lint/golint |
| @echo "Checking formatting..." |
| @gofmt -d -s $(PACKAGE_FILES) 2>&1 | tee lint.log |
| @go vet ./... 2>&1 | tee -a lint.log;) |
| @golint $$(go list ./...) 2>&1 | tee -a lint.log |
| @echo "Checking for unresolved FIXMEs..." |
| @git grep -i fixme | grep -v -e vendor -e Makefile | tee -a lint.log |
| test_ci: install_ci build |
| ./scripts/cover.sh $(shell go list $(PACKAGES)) |