diff --git a/hooks/boilerplate.go.txt b/hack/boilerplate/boilerplate.go.txt similarity index 100% rename from hooks/boilerplate.go.txt rename to hack/boilerplate/boilerplate.go.txt diff --git a/hooks/boilerplate.py b/hack/boilerplate/boilerplate.py similarity index 100% rename from hooks/boilerplate.py rename to hack/boilerplate/boilerplate.py diff --git a/hooks/boilerplate.py.txt b/hack/boilerplate/boilerplate.py.txt similarity index 100% rename from hooks/boilerplate.py.txt rename to hack/boilerplate/boilerplate.py.txt diff --git a/hooks/boilerplate.sh.txt b/hack/boilerplate/boilerplate.sh.txt similarity index 100% rename from hooks/boilerplate.sh.txt rename to hack/boilerplate/boilerplate.sh.txt diff --git a/hack/build-ui.sh b/hack/build-ui.sh index f85364f1ff9..c04b786d02a 100755 --- a/hack/build-ui.sh +++ b/hack/build-ui.sh @@ -44,7 +44,7 @@ function kube::hack::build_ui() { go-bindata -nocompress -o "${output_file}" -prefix ${PWD} -pkg "${pkg}" "${src}" local year=$(date +%Y) - cat hooks/boilerplate.go.txt | sed "s/YEAR/${year}/" > "${TMP_DATAFILE}" + cat hack/boilerplate/boilerplate.go.txt | sed "s/YEAR/${year}/" > "${TMP_DATAFILE}" echo -e "// generated by hack/build-ui.sh; DO NOT EDIT\n" >> "${TMP_DATAFILE}" cat "${output_file}" >> "${TMP_DATAFILE}" diff --git a/hack/update-generated-conversions.sh b/hack/update-generated-conversions.sh index 7df31ca18f8..f76aeafe117 100755 --- a/hack/update-generated-conversions.sh +++ b/hack/update-generated-conversions.sh @@ -29,7 +29,7 @@ function generate_version() { echo "Generating for version ${version}" - sed 's/YEAR/2015/' hooks/boilerplate.go.txt > $TMPFILE + sed 's/YEAR/2015/' hack/boilerplate/boilerplate.go.txt > $TMPFILE cat >> $TMPFILE < $TMPFILE + sed 's/YEAR/2015/' hack/boilerplate/boilerplate.go.txt > $TMPFILE cat >> $TMPFILE <