Commit 018ff85e59db926e14b31f324d60ead92c2cdcd8
1 parent
d62850e7
Exists in
master
and in
22 other branches
Restore loading of plugin tasks
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
Rakefile
| ... | ... | @@ -6,3 +6,13 @@ |
| 6 | 6 | require File.expand_path('../config/application', __FILE__) |
| 7 | 7 | |
| 8 | 8 | Noosfero::Application.load_tasks |
| 9 | + | |
| 10 | +[ | |
| 11 | + "baseplugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake", | |
| 12 | + "config/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake", | |
| 13 | + "config/plugins/*/vendor/plugins/*/{tasks,lib/tasks,rails/tasks}/**/*.rake", | |
| 14 | +].map do |pattern| | |
| 15 | + Dir.glob(pattern).sort | |
| 16 | +end.flatten.each do |taskfile| | |
| 17 | + load taskfile | |
| 18 | +end | ... | ... |