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