Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Removing leading newline in code block (#117)
Browse files Browse the repository at this point in the history
* Removing leading newline in code block

* Change make instructions for tmp/make_help.txt. Trying to remove leading newline.
  • Loading branch information
Sebastian Spier authored May 25, 2020
1 parent 3172b74 commit a2c2970
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 <target>\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 <target>\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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,8 @@ $ docker run --rm \
## Development

[embedmd]:# (tmp/make_help.txt)
```txt

```txt
Usage:
make <target>
Expand Down

0 comments on commit a2c2970

Please sign in to comment.