diff options
| author | Stefan Majewsky <majewsky@gmx.net> | 2026-04-17 21:52:18 +0200 |
|---|---|---|
| committer | Stefan Majewsky <majewsky@gmx.net> | 2026-04-17 21:52:18 +0200 |
| commit | 44b48fa083e5cb01b8de2a54f677b44c73ae33cb (patch) | |
| tree | 02f231a6a79b60d22d7fc7d1a27b6afb9f2557fe /Makefile | |
| parent | 6067fae668d8c5ca7d81874ddf258e0a73b69112 (diff) | |
| download | go-oblast-44b48fa083e5cb01b8de2a54f677b44c73ae33cb.tar.gz | |
Makefile: add benchmark target
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ static-check: FORCE @printf "\e[1;36m>> reuse lint\e[0m\n" @if ! reuse lint -q; then reuse lint; fi +benchmark: FORCE + @cd benchmark && go test -bench . -benchmem . + GO_COVERPKGS := $(shell go list ./... | tr '\n' , | sed 's/,$$//') GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...) |
