File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -62,8 +62,10 @@ BUILDTAGGER_VERSION ?= v0.12.0-rc.0.28.gdc5d6f3
6262BUILDTAGGER_DOWNLOAD_URL ?= https://s3.us-west-2.amazonaws.com/upbound.official-providers-ci.releases/main/$(BUILDTAGGER_VERSION ) /bin/$(SAFEHOST_PLATFORM ) /buildtagger
6363endif
6464
65- # SUBPACKAGES ?= $(shell find cmd/provider -type d -maxdepth 1 -mindepth 1 | cut -d/ -f3)
6665SUBPACKAGES ?= monolith
66+ ifeq ($(strip $(SUBPACKAGES ) ) ,*)
67+ override SUBPACKAGES := $(filter-out monolith,$(shell find cmd/provider -type d -maxdepth 1 -mindepth 1 | cut -d/ -f3) )
68+ endif
6769GO_STATIC_PACKAGES ?= $(GO_PROJECT ) /cmd/generator ${SUBPACKAGES:%=$(GO_PROJECT ) /cmd/provider/%}
6870GO_LDFLAGS += -X $(GO_PROJECT ) /internal/version.Version=$(VERSION )
6971GO_SUBDIRS += cmd internal apis generate
@@ -377,7 +379,10 @@ go.lint.analysiskey-interval:
377379go.lint.analysiskey :
378380 @echo $$(make go.lint.analysiskey-interval )$$(sha1sum go.sum | cut -d' ' -f1 )
379381
380- .PHONY : cobertura reviewable submodules fallthrough go.mod.cachedir go.lint.analysiskey-interval go.lint.analysiskey go.cachedir run crds.clean $(TERRAFORM_PROVIDER_SCHEMA ) load-pkg
382+ print-subpackages :
383+ @echo $(SUBPACKAGES )
384+
385+ .PHONY : cobertura reviewable submodules fallthrough go.mod.cachedir go.lint.analysiskey-interval go.lint.analysiskey go.cachedir run crds.clean $(TERRAFORM_PROVIDER_SCHEMA ) load-pkg print-subpackages
381386
382387build.init : kustomize-crds
383388
You can’t perform that action at this time.
0 commit comments