mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 04:06:39 +00:00
14 lines
194 B
Makefile
14 lines
194 B
Makefile
|
all: lint test bench
|
||
|
|
||
|
lint:
|
||
|
golangci-lint run --timeout 5m
|
||
|
|
||
|
test:
|
||
|
go test -covermode=atomic -race ./...
|
||
|
|
||
|
bench:
|
||
|
go test -bench=. -benchmem ./...
|
||
|
|
||
|
.PHONY: test lint bench
|
||
|
.DEFAULT_GOAL := all
|