diff options
Diffstat (limited to 'railties/lib/tasks/annotations.rake')
-rw-r--r-- | railties/lib/tasks/annotations.rake | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/railties/lib/tasks/annotations.rake b/railties/lib/tasks/annotations.rake deleted file mode 100644 index 48ac40099a..0000000000 --- a/railties/lib/tasks/annotations.rake +++ /dev/null @@ -1,20 +0,0 @@ -require 'source_annotation_extractor' - -desc "Enumerate all annotations" -task :notes do - SourceAnnotationExtractor.enumerate "OPTIMIZE|FIXME|TODO", :tag => true -end - -namespace :notes do - ["OPTIMIZE", "FIXME", "TODO"].each do |annotation| - desc "Enumerate all #{annotation} annotations" - task annotation.downcase.intern do - SourceAnnotationExtractor.enumerate annotation - end - end - - desc "Enumerate a custom annotation, specify with ANNOTATION=WTFHAX" - task :custom do - SourceAnnotationExtractor.enumerate ENV['ANNOTATION'] - end -end
\ No newline at end of file |