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
yuuji.yaginuma dcc6a2b6ce load yarn.rake
Follow up to b1c08d8d9b
2017-01-18 16:45:25 +09:00

20 lines
290 B
Ruby

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