Skip to content

Commit

Permalink
hack: update deepcopy-gen (#364)
Browse files Browse the repository at this point in the history
Signed-off-by: Nick Santos <[email protected]>
  • Loading branch information
nicks authored Oct 31, 2024
1 parent 3d1c295 commit 438c182
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions hack/make-rules/generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,11 @@ REPO_ROOT=$(dirname $(dirname $(dirname "$0")))
cd "${REPO_ROOT}"

GOROOT="$(go env GOROOT)"
rm -f pkg/api/*.deepcopy.go
rm -f pkg/api/*/*.deepcopy.go
go install k8s.io/code-generator/cmd/[email protected]
deepcopy-gen \
-i "./pkg/api/k3dv1alpha4" \
-O zz_generated.deepcopy \
--go-header-file hack/boilerplate.go.txt
deepcopy-gen \
-i "./pkg/api/k3dv1alpha5" \
-O zz_generated.deepcopy \
--go-header-file hack/boilerplate.go.txt
deepcopy-gen \
-i "./pkg/api" \
-O zz_generated.deepcopy \
--go-header-file hack/boilerplate.go.txt
--go-header-file hack/boilerplate.go.txt \
./pkg/api \
./pkg/api/k3dv1alpha4 \
./pkg/api/k3dv1alpha5
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 438c182

Please sign in to comment.