aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/tasks.rb
blob: 2f644a20c9d59d46fe8e16d5e5f6650871918501 (plain) (tree)
1
2
3
4
5
6
7
8
9

                             
              
 
                                

             
     
           
              


            
         
        
     
      
             
                                                              
                

                                 
# frozen_string_literal: true

require "rake"

# Load Rails Rakefile extensions
%w(
  annotations
  dev
  framework
  initializers
  log
  middleware
  misc
  restart
  routes
  tmp
  yarn
).tap { |arr|
  arr << "statistics" if Rake.application.current_scope.empty?
}.each do |task|
  load "rails/tasks/#{task}.rake"
end