Switch to using annotaterb for annotations
This commit is contained in:
parent
b3443b7553
commit
a52558ecc4
6 changed files with 74 additions and 55 deletions
8
lib/tasks/annotate_rb.rake
Normal file
8
lib/tasks/annotate_rb.rake
Normal file
|
@ -0,0 +1,8 @@
|
|||
# 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