Change dependency from annotate to annotaterb (#30232)
This commit is contained in:
parent
c0c34d35e2
commit
3e44dca0b4
5 changed files with 72 additions and 51 deletions
10
lib/tasks/annotate_rb.rake
Normal file
10
lib/tasks/annotate_rb.rake
Normal file
|
@ -0,0 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# This rake task was added by annotate_rb gem.
|
||||
|
||||
# Can set `ANNOTATERB_SKIP_ON_DB_TASKS` to be anything to skip this
|
||||
if Rails.env.development? && ENV['ANNOTATERB_SKIP_ON_DB_TASKS'].nil?
|
||||
require 'annotate_rb'
|
||||
|
||||
AnnotateRb::Core.load_rake_tasks
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue