Files
goreportcard/Makefile
2018-12-20 11:04:58 +09:00

21 lines
415 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 --enable=gofmt ./...
find . -name '*.go' | xargs gofmt -w -s
test:
go test -cover ./check ./handlers
start:
go run main.go
misspell:
find . -name '*.go' -not -path './vendor/*' -not -path './_repos/*' | xargs misspell -error