From 5739e648878463249c34b70fee20939abadfff34 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Matczuk?= Date: Tue, 22 May 2018 16:40:31 +0200 Subject: [PATCH] makefile: added benchmarks target --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 16d7725..9395773 100644 --- a/Makefile +++ b/Makefile @@ -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: