mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-23 18:52:11 +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
|