github.com/vicanso/hes@v0.7.0/Makefile (about) 1 export GO111MODULE = on 2 3 .PHONY: default test test-cover dev hooks 4 5 6 # for test 7 test: 8 go test -race -cover ./... 9 10 test-cover: 11 go test -race -coverprofile=test.out ./... && go tool cover --html=test.out 12 lint: 13 golangci-lint run 14 hooks: 15 cp hooks/* .git/hooks/