From 36ee2b24bdde652e5d6ae18a4f2ecbe997a939a6 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 2 May 2012 16:30:16 +0000 Subject: [PATCH] Load rake tasks from Redmine plugins (#10816). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9615 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/redmine.rake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake index 90e642588..7c1a36248 100644 --- a/lib/tasks/redmine.rake +++ b/lib/tasks/redmine.rake @@ -84,3 +84,6 @@ namespace :redmine do end end end + +# Load plugins' rake tasks +Dir[File.join(Rails.root, "plugins/*/lib/tasks/**/*.rake")].sort.each { |ext| load ext }