File: Makefile

package info (click to toggle)
golang-github-kubernetes-gengo 0.0~git20250207.1244d31-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,528 kB
  • sloc: sh: 90; makefile: 29
file content (14 lines) | stat: -rw-r--r-- 446 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
all:
	go build ./...

test:
	GODEBUG=gotypesalias=0 go test -race ./... -count=1
	GODEBUG=gotypesalias=1 go test -race ./... -count=1

# We verify for the maximum version of the go directive as 1.20
# here because the oldest go directive that exists on our supported
# release branches in k/k is 1.20.
verify:
	GODEBUG=gotypesalias=0 ./hack/verify-examples.sh
	GODEBUG=gotypesalias=1 ./hack/verify-examples.sh
	./hack/verify-go-directive.sh 1.20