diff --git a/lib/tasks/fablab/openlab.rake b/lib/tasks/fablab/openlab.rake index 9e87ae109..00a3a11e0 100644 --- a/lib/tasks/fablab/openlab.rake +++ b/lib/tasks/fablab/openlab.rake @@ -1,9 +1,11 @@ namespace :fablab do namespace :openlab do + desc 'bulk and export project to openlab' task bulk_export: :environment do if Rails.application.secrets.openlab_app_secret.present? Project.find_each do |project| project.openlab_create + puts '-> Done' end else warn "Rails.application.secrets.openlab_app_secret not present. Export can't be done."