summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2020-07-14 09:34:50 +0100
committerPaul Buetow <paul@buetow.org>2020-07-14 09:34:50 +0100
commitaee630b03f48a9f528a4a50e9dcb0fdc8ef20aa5 (patch)
tree152644259dd29dee9dac930cca9f26e4b9422112 /Makefile
parent554a7a259f3feefb586374ac5a3b57acc99a4446 (diff)
add bench helper
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6883353..a2c6657 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,8 @@
all:
go build
-test:
+run:
go run main.go
+test:
+ go test ./... -v
+bench:
+ go test -run=10 -bench=. ./... -v