...

Text file src/github.com/openshift/custom-resource-status/tools/update-deepcopy.sh

Documentation: github.com/openshift/custom-resource-status/tools

     1#!/bin/bash
     2
     3SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
     4CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../../../k8s.io/code-generator)}
     5
     6verify="${VERIFY:-}"
     7
     8bash ${CODEGEN_PKG}/generate-groups.sh "deepcopy" \
     9	github.com/openshift/custom-resource-status/generated \
    10	github.com/openshift/custom-resource-status \
    11	"conditions:v1" \
    12	"objectreferences:v1" \
    13	--go-header-file ${SCRIPT_ROOT}/tools/empty.txt \
    14	${verify}

View as plain text