forked from mirrors/gotosocial
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
|