price-point-api/lib/tasks/annotate_rb.rake
Mohammad Kanaan 22c7e0cdb6
Some checks failed
CI / scan_ruby (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / test (push) Has been cancelled
annotate models
2026-05-25 19:15:06 +03:00

10 lines
403 B
Ruby

# 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"
# Can modify the config path here if needed - by default, it's .annotaterb.yml in the root of the project
# AnnotateRb::ConfigFinder.config_path = ""
AnnotateRb::Core.load_rake_tasks
end