mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-02 08:13:47 +08:00
- Migrated from annotate to annotaterb as the former is not maintained anymore. - Dropped our `fast_pluck` patch as the default `pluck` implementation seems now faster.
9 lines
279 B
Ruby
9 lines
279 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
|