mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-16 23:22:01 +00:00
11 lines
280 B
Ruby
11 lines
280 B
Ruby
|
# 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
|