mirror of
https://github.com/bettercap/bettercap
synced 2025-07-05 20:42:09 -07:00
fix: put GOFLAGS in correct order
This commit is contained in:
parent
8eedf6d90c
commit
63ff51efdf
1 changed files with 5 additions and 5 deletions
10
Makefile
10
Makefile
|
@ -6,10 +6,10 @@ GO ?= go
|
||||||
all: build
|
all: build
|
||||||
|
|
||||||
build: resources
|
build: resources
|
||||||
$(GOFLAGS) $(GO) build -o $(TARGET) .
|
$(GO) build $(GOFLAGS) -o $(TARGET) .
|
||||||
|
|
||||||
build_with_race_detector: resources
|
build_with_race_detector: resources
|
||||||
$(GOFLAGS) $(GO) build -race -o $(TARGET) .
|
$(GO) build $(GOFLAGS) -race -o $(TARGET) .
|
||||||
|
|
||||||
resources: network/manuf.go
|
resources: network/manuf.go
|
||||||
|
|
||||||
|
@ -24,13 +24,13 @@ docker:
|
||||||
@docker build -t bettercap:latest .
|
@docker build -t bettercap:latest .
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(GOFLAGS) $(GO) test -covermode=atomic -coverprofile=cover.out ./...
|
$(GO) test -covermode=atomic -coverprofile=cover.out ./...
|
||||||
|
|
||||||
html_coverage: test
|
html_coverage: test
|
||||||
$(GOFLAGS) $(GO) tool cover -html=cover.out -o cover.out.html
|
$(GO) tool cover -html=cover.out -o cover.out.html
|
||||||
|
|
||||||
benchmark: server_deps
|
benchmark: server_deps
|
||||||
$(GOFLAGS) $(GO) test -v -run=doNotRunTests -bench=. -benchmem ./...
|
$(GO) test -v -run=doNotRunTests -bench=. -benchmem ./...
|
||||||
|
|
||||||
fmt:
|
fmt:
|
||||||
$(GO) fmt -s -w $(PACKAGES)
|
$(GO) fmt -s -w $(PACKAGES)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue