From 1bc3ce6bf1d80d5b389320c01b424f51f4a1aabd Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 31 Jul 2007 13:00:12 +0000 Subject: [PATCH] r217@sede: terceiro | 2007-07-28 11:04:41 -0300 ActionItem8: adding a task to list TODO and FIXME items --- lib/tasks/todo.rake | 4 ++++ 1 file changed, 4 insertions(+), 0 deletions(-) create mode 100644 lib/tasks/todo.rake diff --git a/lib/tasks/todo.rake b/lib/tasks/todo.rake new file mode 100644 index 0000000..6deec9a --- /dev/null +++ b/lib/tasks/todo.rake @@ -0,0 +1,4 @@ +desc "lists all TODO and FIXME comments in the source code" +task :todo do + sh 'grep "TODO\|FIXME" -r --exclude "*.svn*" -n app lib vendor/plugins/ | sed -e "s/^[^:]\+:[0-9]\+:/=============================\n&\n/"' +end -- libgit2 0.21.2