diff --git a/Makefile b/Makefile index a1d15bfb..0d791f1b 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,9 @@ all: deps build deps: godep golint gofmt gomegacheck @dep ensure +build_with_race_detector: resources + @go build -race -o $(TARGET) . + build: resources @go build -o $(TARGET) . @@ -56,4 +59,4 @@ gomegacheck: @go get honnef.co/go/tools/cmd/megacheck gofmt: - gofmt -s -w $(PACKAGES) \ No newline at end of file + gofmt -s -w $(PACKAGES)