mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
|