1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/tasks.rb

23 lines
321 B
Ruby
Raw Normal View History

# frozen_string_literal: true
require "rake"
2013-05-18 09:52:46 -04:00
# 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