mirror of
https://github.com/bettercap/bettercap
synced 2025-07-16 10:03:39 -07:00
misc: added race detector build to Makefile
This commit is contained in:
parent
0810a1f2fe
commit
6e73c47dd7
1 changed files with 4 additions and 1 deletions
5
Makefile
5
Makefile
|
@ -6,6 +6,9 @@ all: deps build
|
||||||
deps: godep golint gofmt gomegacheck
|
deps: godep golint gofmt gomegacheck
|
||||||
@dep ensure
|
@dep ensure
|
||||||
|
|
||||||
|
build_with_race_detector: resources
|
||||||
|
@go build -race -o $(TARGET) .
|
||||||
|
|
||||||
build: resources
|
build: resources
|
||||||
@go build -o $(TARGET) .
|
@go build -o $(TARGET) .
|
||||||
|
|
||||||
|
@ -56,4 +59,4 @@ gomegacheck:
|
||||||
@go get honnef.co/go/tools/cmd/megacheck
|
@go get honnef.co/go/tools/cmd/megacheck
|
||||||
|
|
||||||
gofmt:
|
gofmt:
|
||||||
gofmt -s -w $(PACKAGES)
|
gofmt -s -w $(PACKAGES)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue