From 700d835a8a66d6a02248b17cb146f58cc4f225cf Mon Sep 17 00:00:00 2001 From: Jonah Braun Date: Wed, 12 Dec 2018 10:14:41 -0400 Subject: [PATCH] add help to make and make it default --- Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 74e0d69..f392bcc 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,16 @@ # Make will use bash instead of sh SHELL := /usr/bin/env bash -# lint is the first target in the file so it will get picked up when you just -# run 'make' on its own +.PHONY: help +help: + @echo 'Usage:' + @echo ' make create Create or update resources with Terraform.' + @echo ' make teardown Destroy all resources managed by Terraform.' + @echo ' make validate Check that installed resources work as expected.' + @echo ' make lint Check syntax of all scripts.' + @echo + +.PHONY: lint lint: check_shell check_shebangs check_python check_golang check_terraform \ check_docker check_base_files check_headers check_trailing_whitespace