aboutsummaryrefslogtreecommitdiff
path: root/aux/workflow/TODOs.sh
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-27 13:09:42 -0300
committerEuAndreh <eu@euandre.org>2021-01-27 13:09:42 -0300
commit53d7c1b4de2d443d531ac4b630f6976c88640815 (patch)
tree9fc004a645bda202cb82b9ff9fbd880646d97c4d /aux/workflow/TODOs.sh
parentv0.1.2: Use sed over tac for POSIX compatibility (diff)
downloadremembering-53d7c1b4de2d443d531ac4b630f6976c88640815.tar.gz
remembering-53d7c1b4de2d443d531ac4b630f6976c88640815.tar.xz
mv build-aux/ aux/
Diffstat (limited to '')
-rwxr-xr-xaux/workflow/TODOs.sh (renamed from build-aux/workflow/TODOs.sh)4
1 files changed, 2 insertions, 2 deletions
diff --git a/build-aux/workflow/TODOs.sh b/aux/workflow/TODOs.sh
index 3f9fa4b..ab45835 100755
--- a/build-aux/workflow/TODOs.sh
+++ b/aux/workflow/TODOs.sh
@@ -9,7 +9,7 @@ export MAILING_LIST="$3"
REGEX='s/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE) (.*) \{#(.*?)\}$/## <a href="#\3"><span class="\1">\1<\/span> \2<\/a>\n<span class="header-anchor" id="\3">#\3<\/span>\n/'
-envsubst < build-aux/workflow/preamble.md | \
+envsubst < aux/workflow/preamble.md | \
printf '%s\n\n%s' "$(cat -)" "$(perl -pe "$REGEX" TODOs.md)" | \
pandoc --toc \
--highlight-style pygments \
@@ -19,5 +19,5 @@ envsubst < build-aux/workflow/preamble.md | \
--metadata lang=en \
-r markdown \
-w html \
- -H build-aux/workflow/style.css \
+ -H aux/workflow/style.css \
> public/TODOs.html