mirror of https://github.com/stashapp/stash.git
14 lines
212 B
Makefile
14 lines
212 B
Makefile
|
all: test install
|
||
|
|
||
|
install:
|
||
|
go install
|
||
|
|
||
|
lint:
|
||
|
gofmt -l -s -w . && go tool vet -all . && golint
|
||
|
|
||
|
test:
|
||
|
go test -race -v -coverprofile=coverage.txt -covermode=atomic
|
||
|
|
||
|
bench:
|
||
|
go test -run=XXX -bench=. -benchmem
|