mirror of
https://github.com/kubevirt/containerized-data-importer.git
synced 2025-06-03 06:30:22 +00:00
15 lines
480 B
Bash
Executable File
15 lines
480 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
|
|
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../../../k8s.io/code-generator)}
|
|
|
|
verify="${VERIFY:-}"
|
|
|
|
bash ${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
|
|
github.com/openshift/custom-resource-status/generated \
|
|
github.com/openshift/custom-resource-status \
|
|
"conditions:v1" \
|
|
"objectreferences:v1" \
|
|
--go-header-file ${SCRIPT_ROOT}/tools/empty.txt \
|
|
${verify}
|