1 require 'source_annotation_extractor'
3 desc "Enumerate all annotations"
5 SourceAnnotationExtractor.enumerate "OPTIMIZE|FIXME|TODO", :tag => true
9 ["OPTIMIZE", "FIXME", "TODO"].each do |annotation|
10 desc "Enumerate all #{annotation} annotations"
11 task annotation.downcase.intern do
12 SourceAnnotationExtractor.enumerate annotation
16 desc "Enumerate a custom annotation, specify with ANNOTATION=WTFHAX"
18 SourceAnnotationExtractor.enumerate ENV['ANNOTATION']