GNUmakefile 360 B

123456789101112131415161718192021222324
  1. default: fmt lint install generate
  2. build:
  3. go build -v ./...
  4. install: build
  5. go install -v ./...
  6. lint:
  7. golangci-lint run
  8. generate:
  9. cd tools; go generate ./...
  10. fmt:
  11. gofmt -s -w -e .
  12. test:
  13. go test -v -cover -timeout=120s -parallel=10 ./...
  14. testacc:
  15. TF_ACC=1 go test -v -cover -timeout 120m ./...
  16. .PHONY: fmt lint test testacc build install generate