Makefile 218 B

12345678910111213141516171819
  1. default: test
  2. clean:
  3. go clean -testcache ./...
  4. test:
  5. go test ./...
  6. lint:
  7. golangci-lint run
  8. tidy:
  9. go mod tidy
  10. run:
  11. go build -mod vendor -o ./out
  12. ./out --color=always
  13. .PHONY: default clean test lint tidy run