Makefile
raw| 1 | all: |
| 2 | go build ./... |
| 3 | make -C v2 all |
| 4 | |
| 5 | test: |
| 6 | go test -race ./... |
| 7 | go -C ./examples/defaulter-gen/output_tests test ./... |
| 8 | make -C v2 test |
| 9 | |
| 10 | # We verify for the maximum version of the go directive as 1.20 |
| 11 | # here because the oldest go directive that exists on our supported |
| 12 | # release branches in k/k is 1.20. |
| 13 | verify: |
| 14 | ./hack/verify-examples.sh |
| 15 | ./hack/verify-go-directive.sh 1.20 |
| 16 | make -C v2 verify |