aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Longair <mhl@pobox.com>2013-12-03 18:02:03 +0000
committerMark Longair <mhl@pobox.com>2013-12-03 18:02:03 +0000
commitbaf03db06dba70bab6e0b9ceb3a42da3a6a135c5 (patch)
tree7ff8bd41754ade603ebcac49c2ffd4e388f79f84
parent0fe4865455786164c95766f514b4625e6061136f (diff)
Add back the acts_as_xapian Rake tasks
An effect of moving the acts_as_xapian plugin out of vendor/plugins is that its Rake tasks are no longer found. A fix for this (although not necessarily the best) is in this commit - load everything in lib/acts_as_xapian/tasks/*.rake in the Rakefile.
-rw-r--r--Rakefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 5fa2a360d..3c4766bec 100644
--- a/Rakefile
+++ b/Rakefile
@@ -7,3 +7,5 @@ Alaveteli::Application.load_tasks
if Rails.env == 'test'
Dir[File.join(File.dirname(__FILE__),'commonlib','rblib','tests','*.rake')].each { |file| load(file) }
end
+# Make sure the the acts_as_xapian tasks are also loaded:
+Dir[File.join(File.dirname(__FILE__),'lib','acts_as_xapian','tasks','*.rake')].each { |file| load(file) }