Move boilerplate from hooks/ to hack/

Hooks seems like they should be hooks. Not sure hack makes a lot more
sense, but it has more stuff already.
This commit is contained in:
Eric Paris
2015-08-10 11:45:59 -04:00
parent 5aeebb4886
commit 302cb7dc7f
8 changed files with 4 additions and 4 deletions

View File

@@ -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}"