| 1 | all: vet test |
| 2 | |
| 3 | test: |
| 4 | go test -covermode=count -coverprofile=coverage.out . |
| 5 | |
| 6 | test-legacy: |
| 7 | GODEBUG=x509sha1=1 go test -tags=legacy -covermode=count -coverprofile=coverage.out . |
| 8 | |
| 9 | showcoverage: test |
| 10 | go tool cover -html=coverage.out |
| 11 | |
| 12 | vet: |
| 13 | go vet . |
| 14 | |
| 15 | golangci-lint: |
| 16 | golangci-lint run |
| 17 | |
| 18 | gettools: |
| 19 | go install github.com/golangci/golangci-lint/cmd/golangci-lint@latest |