Skip to content

Commit

Permalink
update generated.sh for gengo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
BenTheElder committed Dec 11, 2024
1 parent 0b4976f commit a8d7de9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hack/make-rules/update/generated.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,8 @@ cd "${REPO_ROOT}"
# we also need to populate vendor

# run the generators
# TODO: -o "${REPO_ROOT}/../.." is a weird work-around ...
bin/deepcopy-gen -i ./pkg/internal/apis/config/ -o "${REPO_ROOT}/../.." -O zz_generated.deepcopy --go-header-file hack/tools/boilerplate.go.txt
bin/deepcopy-gen -i ./pkg/apis/config/v1alpha4 -o "${REPO_ROOT}/../.." -O zz_generated.deepcopy --go-header-file hack/tools/boilerplate.go.txt
bin/deepcopy-gen --output-file zz_generated.deepcopy.go --go-header-file hack/tools/boilerplate.go.txt ./pkg/internal/apis/config/
bin/deepcopy-gen --output-file zz_generated.deepcopy.go --go-header-file hack/tools/boilerplate.go.txt ./pkg/apis/config/v1alpha4


# set module mode back, return to repo root and gofmt to ensure we format generated code
Expand Down

0 comments on commit a8d7de9

Please sign in to comment.