aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
blob: 09582dd7762ead656268e26916b67fbd03af9867 (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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/application', __FILE__)
require 'rake'
Alaveteli::Application.load_tasks
if Rails.env == 'test'
    Dir[Rails.root.join('commonlib','rblib','tests','*.rake')].each { |file| load(file) }
end
# Make sure the the acts_as_xapian tasks are also loaded:
Dir[Rails.root.join('lib','acts_as_xapian','tasks','*.rake')].each { |file| load(file) }