mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
19 lines
288 B
Ruby
19 lines
288 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "rake"
|
|
|
|
# Load Rails Rakefile extensions
|
|
%w(
|
|
framework
|
|
log
|
|
middleware
|
|
misc
|
|
restart
|
|
tmp
|
|
yarn
|
|
zeitwerk
|
|
).tap { |arr|
|
|
arr << "statistics" if Rake.application.current_scope.empty?
|
|
}.each do |task|
|
|
load "rails/tasks/#{task}.rake"
|
|
end
|