blob: 1900f31a448b8ee4fd936d1e9a32e65f0d2c1825 [file] [log] [blame]
Mike Elliottae51de82018-02-16 10:48:59 -05001EXCLUDES := test
2HELM_CHARTS := $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))
3
4.PHONY: $(EXCLUDES) $(HELM_CHARTS)
5
6all: $(HELM_CHARTS)
7
8$(HELM_CHARTS):
9 @echo "\n[$@]"
10 @make lint-$@
11
12make-%:
13 @if [ -f $*/Makefile ]; then make -C $*; fi
14
15dep-%: make-%
16 @if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
17
18lint-%: dep-%
19 @if [ -f $*/Chart.yaml ]; then helm lint $*; fi
20
21clean:
22 @rm -f */requirements.lock
23 @rm -f *tgz */charts/*tgz
24%:
25 @: