lib/cumuli/tasks/cumuli.rake in cumuli-0.4.0 vs lib/cumuli/tasks/cumuli.rake in cumuli-0.4.1

- old
+ new

@@ -9,10 +9,15 @@ desc "copy database config and rerun setup scripts" task :config do Cumuli::ProjectManager::Manager.new.setup_projects end + + desc "publish Procfile from projects.yml" + task :publish do + Cumuli::ProjectManager::Manager.new.publish + end end namespace :ps do namespace :kill do desc "kill all foreman related processes" @@ -27,11 +32,11 @@ ps.kill end end desc "kill the root process" - task :kill => ['cumuli:kill:root'] + task :kill => ['cumuli:ps:kill:root'] namespace :int do desc "interrupt all foreman related processes" task :all do ps = Cumuli::PS.new @@ -44,10 +49,10 @@ ps.int end end desc "interrupt the root process" - task :int => ['cumuli:int:root'] + task :int => ['cumuli:ps:int:root'] end desc "look at the list of foreman related processes" task :ps do puts Cumuli::PS.new.report_all