Sha256: 83e462f4ba9e1919fa87f1f7c0a2790995907e2218af4401d546e17221257c22
Contents?: true
Size: 701 Bytes
Versions: 47
Compression:
Stored size: 701 Bytes
Contents
# frozen_string_literal: true require "rails/source_annotation_extractor" task notes: :environment do Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning Rails::Command.invoke :notes end namespace :notes do ["OPTIMIZE", "FIXME", "TODO"].each do |annotation| task annotation.downcase.intern => :environment do Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning Rails::Command.invoke :notes, ["--annotations", annotation] end end task custom: :environment do Rails::SourceAnnotationExtractor::Annotation.notes_task_deprecation_warning Rails::Command.invoke :notes, ["--annotations", ENV["ANNOTATION"]] end end
Version data entries
47 entries across 45 versions & 5 rubygems