forked from rancher/prometheus-federator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (20 loc) · 706 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
TARGETS := $(shell ls scripts)
.dapper:
@echo Downloading dapper
@curl -sL https://releases.rancher.com/dapper/latest/dapper-$$(uname -s)-$$(uname -m) > .dapper.tmp
@@chmod +x .dapper.tmp
@./.dapper.tmp -v
@mv .dapper.tmp .dapper
$(TARGETS): .dapper
./.dapper $@
.DEFAULT_GOAL := default
# Charts Build Scripts
pull-scripts:
./scripts/charts-build-scripts/pull-scripts
rebase:
./scripts/charts-build-scripts/rebase
CHARTS_BUILD_SCRIPTS_TARGETS := prepare patch clean clean-cache charts list index unzip zip standardize template
$(CHARTS_BUILD_SCRIPTS_TARGETS):
@./scripts/charts-build-scripts/pull-scripts
@./bin/charts-build-scripts $@
.PHONY: $(TARGETS) $(CHARTS_BUILD_SCRIPTS_TARGETS)