File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,3 +106,6 @@ mocks
106106ui /.npm /
107107
108108.DS_Store
109+
110+ # temp build files
111+ pkg /apis /acid.zalan.do /v1 /postgresql.crd.yaml
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ default: local
5555clean :
5656 rm -rf build
5757 rm $(GENERATED )
58+ rm pkg/apis/acid.zalan.do/v1/postgresql.crd.yaml
5859
5960verify :
6061 hack/verify-codegen.sh
@@ -72,6 +73,7 @@ $(GENERATED_CRDS): $(GENERATED)
7273 @sed -i -e ' s/listKind: PostgresqlList/listKind: postgresqlList/' manifests/postgresql.crd.yaml
7374 @hack/adjust_postgresql_crd.sh
7475 @mv manifests/acid.zalan.do_postgresteams.yaml manifests/postgresteam.crd.yaml
76+ @cp manifests/postgresql.crd.yaml pkg/apis/acid.zalan.do/v1/postgresql.crd.yaml
7577
7678local : ${SOURCES} $(GENERATED_CRDS )
7779 CGO_ENABLED=${CGO_ENABLED} go build -o build/${BINARY} $(LOCAL_BUILD_FLAGS ) -ldflags " $( LDFLAGS) " $(SOURCES )
103105 @go vet $(PKG )
104106 @staticcheck $(PKG )
105107
106- test : mocks $(GENERATED )
108+ test : mocks $(GENERATED ) $( GENERATED_CRDS )
107109 GO111MODULE=on go test ./...
108110
109111codegen : $(GENERATED )
You can’t perform that action at this time.
0 commit comments