aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Czygan <martin.czygan@gmail.com>2021-06-07 17:09:48 +0200
committerMartin Czygan <martin.czygan@gmail.com>2021-06-07 17:09:48 +0200
commitfa55eceae3e4f1bbef556f0a38a6ed0ddd31bb57 (patch)
tree9ea83b646bc5c3d86fc8bb91c2cd6025df370208
parentd44bc88a37d3adf70b10990bdf731cdfac119536 (diff)
downloadrefcat-fa55eceae3e4f1bbef556f0a38a6ed0ddd31bb57.tar.gz
refcat-fa55eceae3e4f1bbef556f0a38a6ed0ddd31bb57.zip
add benchmark target
-rw-r--r--skate/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/skate/Makefile b/skate/Makefile
index cb40c25..94b64fb 100644
--- a/skate/Makefile
+++ b/skate/Makefile
@@ -6,6 +6,10 @@ PKGNAME := skate
test:
go test -cover -v ./...
+.PHONY: bench
+bench:
+ go test -bench=.
+
.PHONY: generate
generate:
go get golang.org/x/tools/cmd/stringer && go generate