makefile: added benchmarks target

This commit is contained in:
Michał Matczuk committed 2018-05-23 09:39:22 +02:00
1 parent a8febbc71e
commit 5739e64887
1 file changed
+5 -5
+5 -5
View File
@@ -1,4 +1,4 @@
all: check test integration-test
all: check test bench
.PHONY: check
check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-misspell
@@ -29,11 +29,11 @@ check: .check-fmt .check-vet .check-lint .check-ineffassign .check-mega .check-m
.PHONY: test
test:
@go test -cover -race ./...
@go test -cover -race -tags all ./...
.PHONY: integration-test
integration-test:
@go test -cover -tags integration .
.PHONY: bench
bench:
@go test -tags all -run=XXX -bench=. -benchmem ./...
.PHONY: get-deps
get-deps: