PACKAGES=$(shell go list ./...) all: test test: @echo "--> Running go test --race" @go test --race $(PACKAGES) @echo "--> Running integration tests" @bash ./test/integration_test.sh get_deps: @echo "--> Running go get" @go get -v -d $(PACKAGES) .PHONY: all test get_deps