summaryrefslogtreecommitdiffstats
path: root/lib/tasks/redmine.rake
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-02 16:30:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2012-05-02 16:30:16 +0000
commit36ee2b24bdde652e5d6ae18a4f2ecbe997a939a6 (patch)
treebb32adb0fede8d00df23b71766c077e7d1f49269 /lib/tasks/redmine.rake
parentd2278b63a1e69eafd9a17d0a9f84f0d5cc01bc8a (diff)
downloadredmine-36ee2b24bdde652e5d6ae18a4f2ecbe997a939a6.tar.gz
redmine-36ee2b24bdde652e5d6ae18a4f2ecbe997a939a6.zip
Load rake tasks from Redmine plugins (#10816).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9615 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib/tasks/redmine.rake')
-rw-r--r--lib/tasks/redmine.rake3
1 files changed, 3 insertions, 0 deletions
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 }