Sha256: f97647b4418d3340806209185ede01503d7edb24d316a1a399fe0df7b6ce93fb

Contents?: true

Size: 636 Bytes

Versions: 42

Compression:

Stored size: 636 Bytes

Contents

# frozen_string_literal: true

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

42 entries across 42 versions & 3 rubygems

Version Path
railties-5.2.8.1 lib/rails/tasks/annotations.rake
railties-5.2.8 lib/rails/tasks/annotations.rake
railties-5.2.7.1 lib/rails/tasks/annotations.rake
railties-5.2.7 lib/rails/tasks/annotations.rake
railties-5.2.6.3 lib/rails/tasks/annotations.rake
railties-5.2.6.2 lib/rails/tasks/annotations.rake
railties-5.2.6.1 lib/rails/tasks/annotations.rake
railties-5.2.6 lib/rails/tasks/annotations.rake
railties-5.2.4.6 lib/rails/tasks/annotations.rake
railties-5.2.5 lib/rails/tasks/annotations.rake
railties-5.2.4.5 lib/rails/tasks/annotations.rake
railties-5.2.4.4 lib/rails/tasks/annotations.rake
railties-5.2.4.3 lib/rails/tasks/annotations.rake
railties-5.2.4.2 lib/rails/tasks/annotations.rake
railties-5.2.4.1 lib/rails/tasks/annotations.rake
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/annotations.rake
railties-5.2.4 lib/rails/tasks/annotations.rake
railties-5.2.4.rc1 lib/rails/tasks/annotations.rake
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/annotations.rake
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/railties-5.2.3/lib/rails/tasks/annotations.rake