From 752ddc7868c03bf76ca62a96a3ab7b3077de4625 Mon Sep 17 00:00:00 2001 From: Ikuo Suyama <13306175+ikuo-suyama@users.noreply.github.com> Date: Thu, 21 Jun 2018 00:04:11 +0900 Subject: [PATCH] Rename make target `show-help` to `help` (#123) * rename make target `show-help` to show_help * rename show_help to help --- {{ cookiecutter.repo_name }}/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index eb9d181..3d8e11a 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -86,7 +86,7 @@ test_environment: # Self Documenting Commands # ################################################################################# -.DEFAULT_GOAL := show-help +.DEFAULT_GOAL := help # Inspired by # sed script explained: @@ -103,8 +103,8 @@ test_environment: # * print line # Separate expressions are necessary because labels cannot be delimited by # semicolon; see -.PHONY: show-help -show-help: +.PHONY: help +help: @echo "$$(tput bold)Available rules:$$(tput sgr0)" @echo @sed -n -e "/^## / { \