Update Makefile to have generically useful targets

Change-Id: I7af3eba1d073ea4c6d3e88fd77547818cd1285bd
This commit is contained in:
Chris Wedgwood 2017-10-13 21:50:46 +00:00
parent c6c5de157a
commit c7b0aa381b
1 changed files with 11 additions and 8 deletions

View File

@ -1,18 +1,18 @@
# This Makefile is used during development and can usually be ignored
# by most people.
validation:
default:
@echo Useful valid targets are test-validate, test-install, test-uninstall
all: test-validate test-install test-uninstall
test-validate:
@echo ===========================================================================
python validate.py examples/*
@echo ===========================================================================
all: test
default: test
test: install
install: build
test-install: build
@echo
-helm delete --purge berth
@echo
@ -25,6 +25,9 @@ install: build
@echo
kubectl get pods -o wide
test-uninstall:
helm delete --purge berth
build:
@echo
helm lint berth
@ -33,4 +36,4 @@ clean:
rm -f *~ */*~ */*/*~ berth-0.1.0.tgz
.PHONY:
all default build clean
all default build clean test-validate test-install test-uninstall