github.com/peterdeka/grab@v2.0.0+incompatible/Makefile (about) 1 GO = go 2 GOGET = $(GO) get -u 3 4 all: check lint 5 6 check: 7 cd cmd/grab && $(MAKE) -B all 8 $(GO) test -cover -race ./... 9 10 install: 11 $(GO) install -v ./... 12 13 clean: 14 $(GO) clean -x ./... 15 rm -rvf ./.test* 16 17 lint: 18 gofmt -l -e -s . || : 19 go vet . || : 20 golint . || : 21 gocyclo -over 15 . || : 22 misspell ./* || : 23 24 deps: 25 $(GOGET) github.com/golang/lint/golint 26 $(GOGET) github.com/fzipp/gocyclo 27 $(GOGET) github.com/client9/misspell/cmd/misspell 28 29 .PHONY: all check install clean lint deps