From 60eaae4f7df1f1dae91defb87d3707451c359cf4 Mon Sep 17 00:00:00 2001 From: francis Date: Wed, 23 Jan 2008 01:48:14 +0000 Subject: Freeze in rails 2.0.2 (Am I going to regret having this beast in CVS?) --- .../railties/lib/tasks/annotations.rake | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 vendor/rails-2.0.2/railties/lib/tasks/annotations.rake (limited to 'vendor/rails-2.0.2/railties/lib/tasks/annotations.rake') diff --git a/vendor/rails-2.0.2/railties/lib/tasks/annotations.rake b/vendor/rails-2.0.2/railties/lib/tasks/annotations.rake new file mode 100644 index 000000000..ea6046670 --- /dev/null +++ b/vendor/rails-2.0.2/railties/lib/tasks/annotations.rake @@ -0,0 +1,23 @@ +require 'source_annotation_extractor' + +desc "Enumerate all annotations" +task :notes do + SourceAnnotationExtractor.enumerate "OPTIMIZE|FIXME|TODO", :tag => true +end + +namespace :notes do + desc "Enumerate all OPTIMIZE annotations" + task :optimize do + SourceAnnotationExtractor.enumerate "OPTIMIZE" + end + + desc "Enumerate all FIXME annotations" + task :fixme do + SourceAnnotationExtractor.enumerate "FIXME" + end + + desc "Enumerate all TODO annotations" + task :todo do + SourceAnnotationExtractor.enumerate "TODO" + end +end \ No newline at end of file -- cgit v1.2.3