You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
253 B

6 years ago
  1. help:
  2. @echo "test run test"
  3. @echo "lint run lint"
  4. .PHONY: test
  5. test:
  6. go test -v -cover -coverprofile cover.out
  7. go tool cover -html=cover.out -o cover.html
  8. .PHONY: lint
  9. lint:
  10. gofmt -s -w .
  11. goimports -w .
  12. golint .
  13. go vet