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.

22 lines
383 B

  1. help:
  2. @echo "test run test"
  3. @echo "lint run lint"
  4. @echo "example run examples"
  5. .PHONY: test
  6. test:
  7. go test -v -cover -coverprofile cover.out
  8. go tool cover -html cover.out -o cover.html
  9. .PHONY: lint
  10. lint:
  11. gofmt -s -w .
  12. goimports -w .
  13. golint .
  14. go vet
  15. .PHONY: example
  16. example:
  17. cd example && sh test.sh
  18. ci-test:
  19. cd costesting && go test -v