Sha256: 98bf3afe3cf70126c6eb2b3fa72b3970ee0fdb315275b00d72aad015ff5519ab
Contents?: true
Size: 553 Bytes
Versions: 68
Compression:
Stored size: 553 Bytes
Contents
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
Version data entries
68 entries across 68 versions & 11 rubygems