Makefile 180 B

1234567891011121314151617
  1. default: debug test run
  2. debug:
  3. go vet ./...
  4. gofmt -d ./
  5. gofmt -w ./
  6. go build -mod vendor -o ./out
  7. test:
  8. go test ./...
  9. run:
  10. @./out
  11. update:
  12. go mod vendor
  13. go mod download