Sha256: b7870bcc5b58a84180f5d869575345dfff0d88af6732f321b09ba3c22f633bce
Contents?: true
Size: 604 Bytes
Versions: 161
Compression:
Stored size: 604 Bytes
Contents
require 'rails/source_annotation_extractor' desc "Enumerate all annotations (use notes:optimize, :fixme, :todo for focus)" 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=CUSTOM" task :custom do SourceAnnotationExtractor.enumerate ENV['ANNOTATION'] end end
Version data entries
161 entries across 156 versions & 12 rubygems