mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
8c33359ce8
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7672 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
23 lines
No EOL
533 B
Ruby
23 lines
No EOL
533 B
Ruby
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 |