Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

Add flag for skipping manifest generation #4672

Merged
merged 1 commit into from
Jun 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ GOOPTS ?= -mod=vendor
DOCKER_TARGETS = docker_build docker_tag docker_push clean
INSTALLDIR = $(CURDIR)/templates/install
SKIP_TESTS ?= false
SKIP_MANIFESTS ?= false
MAVEN_BATCH ?= true

ifndef GOPATH
Expand Down Expand Up @@ -163,8 +164,13 @@ CONTROLLER_GEN:=$(shell which controller-gen)

endif

ifeq ($(SKIP_MANIFESTS),true)
manifests:
@echo "Skipping generating manifests from source"
else
manifests: controller-gen
$(CONTROLLER_GEN) crd paths=./pkg/apis/enmasse/v1beta2 output:dir=./templates/shared-infra
endif

#endregion

Expand Down