Sha256: c9ad5731b99b75acb527e85a7fd1a1ae1988ad330eeea1c90e2058642cbdbac0
Contents?: true
Size: 571 Bytes
Versions: 8
Compression:
Stored size: 571 Bytes
Contents
# 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 namespace :annotate_rb do desc 'Annotate routes after db:migrate' task annotate_routes: :environment do Rake::Task['db:migrate'].enhance do AnnotateRb::Runner.run(['routes']) end end end Rake::Task['db:migrate'].enhance do Rake::Task['annotate_rb:annotate_routes'].invoke end end
Version data entries
8 entries across 8 versions & 1 rubygems