23 lines
580 B
Ruby
23 lines
580 B
Ruby
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
|
|
require File.expand_path("../config/canvas_rails3", __FILE__)
|
|
|
|
if CANVAS_RAILS3
|
|
require File.expand_path('../config/application', __FILE__)
|
|
else
|
|
require File.expand_path('../config/boot', __FILE__)
|
|
end
|
|
|
|
require 'rake'
|
|
require 'rake/testtask'
|
|
require 'rdoc/task'
|
|
|
|
if CANVAS_RAILS3
|
|
CanvasRails::Application.load_tasks
|
|
else
|
|
require 'tasks/rails'
|
|
end
|
|
|
|
begin; require 'parallelized_specs/tasks'; rescue LoadError; end
|