diff options
author | EuAndreh <eu@euandre.org> | 2021-01-25 16:34:39 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-01-25 16:35:44 -0300 |
commit | 69f316eca8925de4cc412796291895dfd9577e35 (patch) | |
tree | 35ea95943ec571345380e0f9fa93c9e4c0ccc111 | |
parent | TODOs.md: Add task-f4258dc4-22aa-408d-a0b1-953f654e0623 (diff) | |
download | remembering-69f316eca8925de4cc412796291895dfd9577e35.tar.gz remembering-69f316eca8925de4cc412796291895dfd9577e35.tar.xz |
mv build-aux/assert-todos.sh build-aux/workflow/, updating to the latest version
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | build-aux/workflow/assert-todos.sh (renamed from build-aux/assert-todos.sh) | 6 |
2 files changed, 4 insertions, 4 deletions
@@ -34,7 +34,7 @@ check: if [ -d .git ]; then \ echo 'Assuming Git repository, running development checks.'; \ sh build-aux/assert-shellcheck.sh; \ - sh build-aux/assert-todos.sh; \ + sh build-aux/workflow/assert-todos.sh; \ fi dist: diff --git a/build-aux/assert-todos.sh b/build-aux/workflow/assert-todos.sh index fea8395..1d568cb 100755 --- a/build-aux/assert-todos.sh +++ b/build-aux/workflow/assert-todos.sh @@ -1,7 +1,7 @@ #!/bin/sh set -eu -if git grep FIXME | grep -v '^TODOs.md' | grep -v '^build-aux/assert-todos.sh' | grep -v '^build-aux/docbook-xsl/'; then +if git grep FIXME | grep -v '^TODOs.md' | grep -v '^build-aux/workflow/assert-todos.sh' | grep -v '^build-aux/docbook-xsl/'; then echo "Found dangling FIXME markers on the project." echo "You should write them down properly on TODOs.md." exit 1 @@ -29,7 +29,7 @@ h2flag == 1 { h2flag = 0 } -/^## / { +/^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ { if (match($0, / \{#.*?\}$/) == 0) { print "Missing ID for line " NR ":\n" $0 exitstatus = 1 @@ -51,7 +51,7 @@ h2flag == 1 { } -/^# Improvements$/ { +/^# Scratch$/ { exit exitstatus } ' TODOs.md |