diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -12,8 +12,11 @@ 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 . +benchmark-orm: FORCE + @cd benchmark && go test -bench BenchmarkORM -benchmem . + +benchmark-postgres: FORCE + @cd benchmark && go test -bench BenchmarkPostgres -benchmem . GO_COVERPKGS := $(shell go list ./... | grep -vw testhelpers | tr '\n' , | sed 's/,$$//') GO_TESTPKGS := $(shell go list -f '{{if or .TestGoFiles .XTestGoFiles}}{{.ImportPath}}{{end}}' ./...) |
