From c7b0aa381b732193aff0c77d2a024612b8f0ab97 Mon Sep 17 00:00:00 2001 From: Chris Wedgwood Date: Fri, 13 Oct 2017 21:50:46 +0000 Subject: [PATCH] Update Makefile to have generically useful targets Change-Id: I7af3eba1d073ea4c6d3e88fd77547818cd1285bd --- Makefile | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 75ef1d5..e052ae7 100644 --- a/Makefile +++ b/Makefile @@ -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