From 394cd3bd331a026e0efeafa5105a1033883939a0 Mon Sep 17 00:00:00 2001 From: Sebastian Spier Date: Mon, 18 May 2020 12:07:20 +0200 Subject: [PATCH 1/2] Removing leading newline in code block --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c61dcb7b..64299ae3 100644 --- a/README.md +++ b/README.md @@ -219,8 +219,8 @@ $ docker run --rm \ ## Development [embedmd]:# (tmp/make_help.txt) -```txt +```txt Usage: make From 71db940a28120a1764c57bfc18644dd7f5f8dd9d Mon Sep 17 00:00:00 2001 From: Sebastian Spier Date: Mon, 18 May 2020 13:06:13 +0200 Subject: [PATCH 2/2] Change make instructions for tmp/make_help.txt. Trying to remove leading newline. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5bed65f1..ee6bc88a 100644 --- a/Makefile +++ b/Makefile @@ -65,7 +65,7 @@ tmp/help.txt: drone-cache tmp/make_help.txt: Makefile -mkdir -p tmp - $(Q) awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " %-15s\t %s\n", $$1, $$2 }' $(MAKEFILE_LIST) &> tmp/make_help.txt + $(Q) awk 'BEGIN {FS = ":.*##"; printf "Usage:\n make \n\nTargets:\n"} /^[a-zA-Z_-]+:.*?##/ { printf " %-15s\t %s\n", $$1, $$2 }' $(MAKEFILE_LIST) &> tmp/make_help.txt README.md: tmp/help.txt tmp/make_help.txt $(EMBEDMD_BIN) $(EMBEDMD_BIN) -w README.md