Skip to content

Commit

Permalink
Merge pull request #196 from kerthcet/fix/generate-cmd
Browse files Browse the repository at this point in the history
fix make generate
  • Loading branch information
k8s-ci-robot authored Aug 16, 2024
2 parents 1e870db + 9eea16c commit 93bfa66
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 5 additions & 8 deletions hack/update-codegen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ source "${CODEGEN_PKG}/kube_codegen.sh"
ln -s .. sigs.k8s.io
trap "rm sigs.k8s.io" EXIT

kube::codegen::gen_helpers \
--input-pkg-root sigs.k8s.io/lws/api \
--output-base "${REPO_ROOT}" \
kube::codegen::gen_helpers sigs.k8s.io/lws/api \
--boilerplate "${REPO_ROOT}/hack/boilerplate.go.txt"

kube::codegen::gen_client \
kube::codegen::gen_client sigs.k8s.io/lws/api \
--with-watch \
--with-applyconfig \
--input-pkg-root sigs.k8s.io/lws/api \
--output-base "$REPO_ROOT" \
--output-pkg-root sigs.k8s.io/lws/client-go \
--boilerplate "${REPO_ROOT}/hack/boilerplate.go.txt"
--output-dir "$REPO_ROOT"/client-go \
--output-pkg sigs.k8s.io/lws/client-go \
--boilerplate "${REPO_ROOT}/hack/boilerplate.go.txt"

0 comments on commit 93bfa66

Please sign in to comment.