File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -34,17 +34,13 @@ printf "Finished kube_codegen.sh, updating source files...\n"
34
34
35
35
# Manual copy might be required if output paths are incorrectly set by the tools, adjust paths as needed
36
36
if [[ " ${COPY_OR_DIFF} " == " copy" ]]; then
37
- printf " Removing old generated files...\n"
38
37
rm -rf ./pkg/generated
39
- printf " Populating with new generated files...\n"
40
38
mkdir -p ./pkg/generated
41
39
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/
45
40
fi
46
41
47
- printf " Final checks...\n"
42
+ git diff
43
+
48
44
replace_or_compare " $GOPATH /src/github.com/janekbaraniewski/kubeserial/pkg/generated/" ./pkg/generated/
49
45
50
46
printf " All generators have completed.\n"
You can’t perform that action at this time.
0 commit comments