mirror of
https://github.com/superseriousbusiness/gotosocial
synced 2024-12-28 05:33:12 +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
|