blob: aad965306c4dbfbcbdbb50dc425fd59e89d40610 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
$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 }
|