Commit f6dc326c0539e6fda93464bb2ab7aabc5eb85662
1 parent
310bb1f9
Exists in
master
and in
9 other branches
Describe `noosfero:plugins:enable_all`
So that it shows up in the output of `rake -T`
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
lib/tasks/enable_plugins.rake
1 | namespace :noosfero do | 1 | namespace :noosfero do |
2 | namespace :plugins do | 2 | namespace :plugins do |
3 | + desc 'Enable all installed plugins on all environment' | ||
3 | task :enable_all => :environment do | 4 | task :enable_all => :environment do |
4 | Environment.all.each do |env| | 5 | Environment.all.each do |env| |
5 | puts "Plugins Activated on #{env.name}" if env.enable_all_plugins | 6 | puts "Plugins Activated on #{env.name}" if env.enable_all_plugins |