summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Wedgwood <cw@f00f.org>2017-10-13 21:50:46 +0000
committerChris Wedgwood <cw@f00f.org>2017-10-30 21:38:54 -0400
commitc7b0aa381b732193aff0c77d2a024612b8f0ab97 (patch)
tree018fc42cbd3fab96d675d30db6cb09f8caf9f557
parentc6c5de157a49c2bd997328c193044372beef2f2f (diff)
Update Makefile to have generically useful targets
-rw-r--r--Makefile19
1 files changed, 11 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 75ef1d5..e052ae7 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,18 @@
1# This Makefile is used during development and can usually be ignored 1# This Makefile is used during development and can usually be ignored
2# by most people. 2# by most people.
3 3
4validation: 4default:
5 @echo Useful valid targets are test-validate, test-install, test-uninstall
6
7all: test-validate test-install test-uninstall
8
9test-validate:
5 @echo =========================================================================== 10 @echo ===========================================================================
6 python validate.py examples/* 11 python validate.py examples/*
7 @echo =========================================================================== 12 @echo ===========================================================================
8 13
9all: test
10
11default: test
12 14
13test: install 15test-install: build
14
15install: build
16 @echo 16 @echo
17 -helm delete --purge berth 17 -helm delete --purge berth
18 @echo 18 @echo
@@ -25,6 +25,9 @@ install: build
25 @echo 25 @echo
26 kubectl get pods -o wide 26 kubectl get pods -o wide
27 27
28test-uninstall:
29 helm delete --purge berth
30
28build: 31build:
29 @echo 32 @echo
30 helm lint berth 33 helm lint berth
@@ -33,4 +36,4 @@ clean:
33 rm -f *~ */*~ */*/*~ berth-0.1.0.tgz 36 rm -f *~ */*~ */*/*~ berth-0.1.0.tgz
34 37
35.PHONY: 38.PHONY:
36 all default build clean 39 all default build clean test-validate test-install test-uninstall