mirror of
https://github.com/gojp/goreportcard.git
synced 2026-01-28 22:39:05 +08:00
18 lines
296 B
Makefile
18 lines
296 B
Makefile
all: lint build test
|
|
|
|
build:
|
|
go build ./...
|
|
|
|
install:
|
|
./scripts/make-install.sh
|
|
|
|
lint:
|
|
gometalinter --exclude=vendor --exclude=repos --disable-all --enable=golint --enable=vet ./...
|
|
find . -name '*.go' | xargs gofmt -w -s
|
|
|
|
test:
|
|
go test -cover ./check ./handlers
|
|
|
|
start:
|
|
go run main.go
|