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
2009-09-24 16:11:41 -07:00

24 lines
464 B
Ruby

$VERBOSE = nil
# Load Rails rakefile extensions
%w(
annotations
databases
documentation
framework
gems
log
middleware
misc
routes
statistics
testing
tmp
).each do |task|
load "rails/tasks/#{task}.rake"
end
# Load any custom rakefile extensions
# TODO: Don't hardcode these paths.
Dir["#{RAILS_ROOT}/vendor/plugins/*/**/tasks/**/*.rake"].sort.each { |ext| load ext }
Dir["#{RAILS_ROOT}/lib/tasks/**/*.rake"].sort.each { |ext| load ext }