Skip to content

Commit 1d6ca14

Browse files
Debug
1 parent bfc0375 commit 1d6ca14

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

hack/code-gen.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,17 +34,13 @@ printf "Finished kube_codegen.sh, updating source files...\n"
3434

3535
# Manual copy might be required if output paths are incorrectly set by the tools, adjust paths as needed
3636
if [[ "${COPY_OR_DIFF}" == "copy" ]]; then
37-
printf "Removing old generated files...\n"
3837
rm -rf ./pkg/generated
39-
printf "Populating with new generated files...\n"
4038
mkdir -p ./pkg/generated
4139
cp -r "$GOPATH/src/github.com/janekbaraniewski/kubeserial/pkg/generated/"* ./pkg/generated/
42-
printf "Populating DONE\n"
43-
printf "New files populated with: \n"
44-
ls -la ./pkg/generated/
4540
fi
4641

47-
printf "Final checks...\n"
42+
git diff
43+
4844
replace_or_compare "$GOPATH/src/github.com/janekbaraniewski/kubeserial/pkg/generated/" ./pkg/generated/
4945

5046
printf "All generators have completed.\n"

0 commit comments

Comments
 (0)