Skip to content

Commit

Permalink
Update code-gen script
Browse files Browse the repository at this point in the history
  • Loading branch information
janekbaraniewski committed May 6, 2024
1 parent 554ba83 commit d7dc358
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions hack/code-gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,12 @@ export PATH=$PATH:$GOPATH/bin

source hack/utils.sh

printf "Start code-gen script \n"

# Install the required binaries with modules enabled
GO111MODULE=on "$GO" install \
k8s.io/code-generator/cmd/deepcopy-gen \
k8s.io/code-generator/cmd/register-gen \
k8s.io/code-generator/cmd/client-gen \
k8s.io/code-generator/cmd/lister-gen \
k8s.io/code-generator/cmd/informer-gen
go install k8s.io/code-generator

printf "Got all dependencies \n"

# Ensure proper package tags are in place (See: https://pkg.go.dev/k8s.io/code-generator/cmd/deepcopy-gen)
printf "Running code generators...\n"
Expand Down

0 comments on commit d7dc358

Please sign in to comment.