blob: 82113a297cd2086211b04107dccf28098c800412 (
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
|
$VERBOSE = nil
# Load Rails rakefile extensions
%w(
annotations
databases
documentation
framework
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 }
|