Revision 9528
Added by Jean-Philippe Lang about 13 years ago
Rakefile | ||
---|---|---|
1 |
#!/usr/bin/env rake |
|
1 | 2 |
# Add your own tasks in files placed in lib/tasks ending in .rake, |
2 |
# for example lib/tasks/switchtower.rake, and they will automatically be available to Rake.
|
|
3 |
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
|
3 | 4 | |
4 |
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
|
|
5 |
require File.expand_path('../config/application', __FILE__)
|
|
5 | 6 | |
6 |
require 'rake' |
|
7 |
require 'rake/testtask' |
|
8 | ||
9 |
begin |
|
10 |
require 'rdoc/task' |
|
11 |
rescue LoadError |
|
12 |
# RDoc is not available |
|
13 |
end |
|
14 | ||
15 |
require 'tasks/rails' |
|
7 |
RedmineApp::Application.load_tasks |
Also available in: Unified diff
Merged rails-3.2 branch.