mirror of https://github.com/fluxcd/flux2.git
15 lines
316 B
Makefile
15 lines
316 B
Makefile
|
|
bases := $(shell dirname $(shell find | grep kustomization.yaml | sort))
|
|
|
|
all: $(bases)
|
|
|
|
permutations := $(bases) $(addsuffix /,$(bases))
|
|
.PHONY: $(permutations)
|
|
$(permutations):
|
|
@echo $@
|
|
@warnings=$$(kustomize build $@ -o /dev/null 2>&1); \
|
|
if [ "$$warnings" ]; then \
|
|
echo "$$warnings"; \
|
|
false; \
|
|
fi
|