aboutsummaryrefslogblamecommitdiff
path: root/aux/workflow/assert-todos.sh
blob: f4fd9659cb272a42ec21e4d351064b9fcc59a262 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


         







                                                                   
              

  
     
#!/bin/sh
set -eu

# shellcheck disable=2086
if [ -e .git ] &&
	git grep FIXME ${1:-} |
	grep -v '^TODOs.md:' |
	grep -v '^aux/workflow/assert-todos.sh:'
then
	echo "Found dangling FIXME markers on the project." >&2
	echo "You should write them down properly on TODOs.md." >&2
	exit 1
fi

td -L