aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-10-30 00:20:42 -0300
committerEuAndreh <eu@euandre.org>2022-10-30 00:20:42 -0300
commit22addb1af05c2c1dc65c0d52e61e0fd922f08191 (patch)
tree213efeca15d8b798e1ec671d6d656474875d9e0a
parentopt/aux/gen-e-list.sh: Include ~/Desktop/FIXME file (diff)
downloaddotfiles-22addb1af05c2c1dc65c0d52e61e0fd922f08191.tar.gz
dotfiles-22addb1af05c2c1dc65c0d52e61e0fd922f08191.tar.xz
Makefile: Exclude gen-e-list.sh from check-fixme
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 848a3f3..26958ad 100644
--- a/Makefile
+++ b/Makefile
@@ -86,8 +86,12 @@ check-perlcritic:
xargs awk '/^#!\/usr\/bin\/env perl$$/ { print FILENAME } { nextfile }' | \
xargs perlcritic --exclude=subroutine
+FIXME-excludes = \
+ ':(exclude)Makefile' \
+ ':(exclude)etc/git/ignore' \
+ ':(exclude)opt/aux/gen-e-list.sh'
check-fixme:
- if git grep FIXME -- ':(exclude)Makefile' ':(exclude)etc/git/ignore'; then \
+ if git grep FIXME -- $(FIXME-excludes); then \
printf 'Leftover FIXME markers.\n' >&2; \
exit 1; \
fi