github.com/minio/console@v1.3.0/hack/update-codegen.sh (about)

     1  #!/bin/bash
     2  
     3  set -o errexit
     4  set -o nounset
     5  set -o pipefail
     6  
     7  SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
     8  
     9  GO111MODULE=off go get -d k8s.io/code-generator/...
    10  
    11  REPOSITORY=github.com/minio/console
    12  $GOPATH/src/k8s.io/code-generator/generate-groups.sh all \
    13    $REPOSITORY/pkg/clientgen $REPOSITORY/pkg/apis networking.gke.io:v1beta2 \
    14    --go-header-file $SCRIPT_ROOT/hack/header.go.txt