Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Commit c84e4aa

Browse files
committed
Add bench task
1 parent f0a094c commit c84e4aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ lint:
3535
test:
3636
for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done;
3737

38+
.PHONY: bench
39+
bench:
40+
go test -run=XXX -bench=. || exit 1
41+
3842
.PHONY: build
3943
build:
4044
go build .

0 commit comments

Comments
 (0)