misc: added race detector build to Makefile

This commit is contained in:
evilsocket 2019-03-17 12:46:23 +01:00
parent 0810a1f2fe
commit 6e73c47dd7
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -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)
gofmt -s -w $(PACKAGES)