mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #16415 from wojtek-t/fix_update_codecgen_script
Auto commit by PR queue bot
This commit is contained in:
commit
eda8e8b55f
@ -41,6 +41,14 @@ trap cleanup EXIT
|
|||||||
CODECGEN="${PWD}/codecgen_binary"
|
CODECGEN="${PWD}/codecgen_binary"
|
||||||
godep go build -o "${CODECGEN}" github.com/ugorji/go/codec/codecgen
|
godep go build -o "${CODECGEN}" github.com/ugorji/go/codec/codecgen
|
||||||
|
|
||||||
|
# Running codecgen fails if some of the files doesn't compile.
|
||||||
|
# Thus (since all the files are completely auto-generated and
|
||||||
|
# not required for the code to be compilable, we first remove
|
||||||
|
# them and the regenerate them.
|
||||||
|
for generated_file in ${generated_files}; do
|
||||||
|
rm -f "${generated_file}"
|
||||||
|
done
|
||||||
|
|
||||||
for generated_file in ${generated_files}; do
|
for generated_file in ${generated_files}; do
|
||||||
initial_dir=${PWD}
|
initial_dir=${PWD}
|
||||||
file=${generated_file//\.generated\.go/.go}
|
file=${generated_file//\.generated\.go/.go}
|
||||||
|
Loading…
Reference in New Issue
Block a user