github.com/QuangTung97/bigcache@v0.1.0/Makefile (about) 1 .PHONY: lint test install-tools escape 2 3 lint: 4 $(foreach f,$(shell go fmt ./...),@echo "Forgot to format file: ${f}"; exit 1;) 5 go vet ./... 6 revive -config revive.toml -formatter friendly ./... 7 8 test: 9 go test -v -race -count=1 ./... 10 11 install-tools: 12 go install github.com/mgechev/revive 13 14 escape: 15 go build -gcflags '-m -m -l' .