Sha256: 29fcd01ba7094c16f0492c0e569b0133f87014f00268127392b9fb08228db89f

Contents?: true

Size: 452 Bytes

Versions: 3

Compression:

Stored size: 452 Bytes

Contents

namespace :composer do

  desc "Install composer packages"
  task :install do
    on roles(:app) do
      within release_path do
        execute :composer, "install --no-dev --quiet"
      end
    end
  end

  desc "Update installed composer packages"
  task :update do
    on roles(:app) do
      within release_path do
        execute :composer, "update --no-dev"        
      end
    end
  end
  
  after 'deploy:updating', 'composer:install'

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cap-laravel-0.0.7 lib/cap/tasks/composer.rake
cap-laravel-0.0.6 lib/cap/tasks/composer.rake
cap-laravel-0.0.5 lib/cap/tasks/composer.rake