aboutsummaryrefslogtreecommitdiff
path: root/scripts/assert-todos.sh
blob: a59b4cddefd0334c7508aee4032d9ebc27f74ef8 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env bash
set -Eeuo pipefail
cd "$(dirname "${BASH_SOURCE[0]}")"
cd ../

# shellcheck disable=2046
if grep -R FIXME $(git ls-files) | \
    grep -Ev '^(vendor/|.git/|scripts/assert-todos.sh|templates)'; then
  echo "Found dangling FIXME markers on the project."
  echo "You should write them down properly on TODOs.org."
  exit 1
fi