Sha256: ebd8e1b6d8661183670d0d1fc4d184d5959d95fab1a7dfbb949c384a3e8bae5f
Contents?: true
Size: 1.1 KB
Versions: 2
Compression:
Stored size: 1.1 KB
Contents
namespace :jumpup do namespace :heroku do task :start => ["add_remote", "check", "lock"] task :finish => ["deploy", "unlock"] desc "Add Heroku git remotes" task add_remote: :environment do Jumpup::Heroku::Integrate.add_remote end desc "Check if there's someone else integrating the project" task check: :environment do Jumpup::Heroku::Integrate.check end desc "Lock the Heroku integration" task lock: :environment do Jumpup::Heroku::Integrate.lock end desc "Unlock the Heroku integration" task unlock: :environment do Jumpup::Heroku::Integrate.unlock end desc "Deploy to heroku" task deploy: :environment do Jumpup::Heroku::Integrate.deploy end namespace :deploy do desc "Deploy to production" task production: :environment do Jumpup::Heroku::Integrate.deploy_to_production end end end end namespace :integrate do desc 'Alias to jumpup:heroku:deploy:production' task production: :environment do Rake.application.invoke_task('jumpup:heroku:deploy:production') end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
jumpup-heroku-0.0.5 | lib/tasks/integrate.rake |
jumpup-heroku-0.0.4 | lib/tasks/integrate.rake |