2016-08-06 13:15:47 -04:00
|
|
|
require "rake"
|
2014-12-02 16:28:09 -05:00
|
|
|
|
2013-05-18 09:52:46 -04:00
|
|
|
# Load Rails Rakefile extensions
|
2009-09-24 17:01:31 -04:00
|
|
|
%w(
|
|
|
|
annotations
|
2016-02-07 17:21:40 -05:00
|
|
|
dev
|
2009-09-24 17:01:31 -04:00
|
|
|
framework
|
2015-03-20 18:51:01 -04:00
|
|
|
initializers
|
2009-09-24 17:01:31 -04:00
|
|
|
log
|
|
|
|
middleware
|
|
|
|
misc
|
2015-02-17 01:11:16 -05:00
|
|
|
restart
|
2009-09-24 17:01:31 -04:00
|
|
|
routes
|
|
|
|
tmp
|
2017-01-18 02:45:25 -05:00
|
|
|
yarn
|
2015-07-24 19:51:10 -04:00
|
|
|
).tap { |arr|
|
2016-08-06 13:15:47 -04:00
|
|
|
arr << "statistics" if Rake.application.current_scope.empty?
|
2015-07-24 19:51:10 -04:00
|
|
|
}.each do |task|
|
2009-09-24 17:01:31 -04:00
|
|
|
load "rails/tasks/#{task}.rake"
|
|
|
|
end
|