aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/tasks/annotations.rake
blob: ea6046670f088ed7ed1ea15616a2686da1848370 (plain) (tree)
1
                                     





















                                                                         
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