mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-01 19:22:23 +02:00
Replace glide with Go modules (#544)
* And attempt to build with modules and remove glide * new tools.go file to get code-generator dependency + updated codegen + remove Glide files and update docs
This commit is contained in:
committed by
Felix Kunde
parent
f0e29060b1
commit
baae1887b3
@@ -7,7 +7,7 @@ set -o pipefail
|
||||
SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/..
|
||||
CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ${GOPATH}/src/k8s.io/code-generator)}
|
||||
|
||||
vendor/k8s.io/code-generator/generate-groups.sh all \
|
||||
bash "${CODEGEN_PKG}/generate-groups.sh" all \
|
||||
github.com/zalando/postgres-operator/pkg/generated github.com/zalando/postgres-operator/pkg/apis \
|
||||
acid.zalan.do:v1 \
|
||||
--go-header-file ${SCRIPT_ROOT}/hack/custom-boilerplate.go.txt
|
||||
"acid.zalan.do:v1" \
|
||||
--go-header-file "${SCRIPT_ROOT}"/hack/custom-boilerplate.go.txt
|
||||
|
||||
Reference in New Issue
Block a user