add --go-header-file to use kube boilerplate

This commit is contained in:
Nikhita Raghunath
2018-02-13 12:34:00 +05:30
parent 8f898a3763
commit ebad418c29
2 changed files with 6 additions and 3 deletions

View File

@@ -92,5 +92,6 @@ PATH="${KUBE_ROOT}/_output/bin:${PATH}" \
"${gotoprotobuf}" \
--proto-import="${KUBE_ROOT}/vendor" \
--proto-import="${KUBE_ROOT}/third_party/protobuf" \
--packages=$(IFS=, ; echo "${PACKAGES[*]}")
--packages=$(IFS=, ; echo "${PACKAGES[*]}") \
--go-header-file ${KUBE_ROOT}/hack/boilerplate/boilerplate.go.txt \
"$@"