Skip to content

Commit

Permalink
Add blog script
Browse files Browse the repository at this point in the history
  • Loading branch information
LitoMore committed Oct 24, 2024
1 parent 510d82c commit 717f6c1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.DEFAULT_GOAL := default
.SILENT: fmt-check lint type-check add add-platform check fix build reset search summary
.SILENT: fmt-check lint type-check add add-platform check fix build reset search summary blog

fmt-check:
deno fmt --quiet --check
Expand Down Expand Up @@ -34,4 +34,7 @@ search:
summary:
deno --allow-env --allow-read source/summary.ts

blog:
cat README.md | sed -r 's/<h1.+h1>//g' | sed -r 's/<h2/<h3/g' | sed -r 's/<\/h2/<\/h4/g' | pbcopy

default: fmt-check lint type-check check build

0 comments on commit 717f6c1

Please sign in to comment.