Sha256: e362e75f2836478a058b1c47579ac5ba7d548b92379933ba5d28994450a8a383

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

namespace :jumpup do
  namespace :heroku do

    task :start => ["add_remote", "check"]
    task :finish => ["deploy"]

    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 "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

1 entries across 1 versions & 1 rubygems

Version Path
jumpup-heroku-0.0.6 lib/tasks/integrate.rake