aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-01-25 16:37:00 -0300
committerEuAndreh <eu@euandre.org>2021-01-25 16:37:00 -0300
commit3dca0955918cb9589c2cc3881c49301454341347 (patch)
tree0fb143b6e2affc25a9dd648dd98638ab2e2cabd4
parentvps.scm: Stop inlining SSH public key, use symlink instead (diff)
downloadserver-3dca0955918cb9589c2cc3881c49301454341347.tar.gz
server-3dca0955918cb9589c2cc3881c49301454341347.tar.xz
mv build-aux/assert-todos.sh build-aux/workflow/, updating to the latest version
-rw-r--r--Makefile2
-rwxr-xr-xbuild-aux/workflow/assert-todos.sh (renamed from build-aux/assert-todos.sh)6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 728b71f..33c3fb5 100644
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@
.PHONY: check
check:
sh build-aux/assert-shellcheck.sh
- sh build-aux/assert-todos.sh
+ sh build-aux/workflow/assert-todos.sh
sh build-aux/assert-terraform.sh
.PHONY: clean
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