Sha256: 1580a5092f1c1a3ea7bfb26bd2716ff3e24e3cae1e5fda82ddb63772b427db8e

Contents?: true

Size: 464 Bytes

Versions: 1

Compression:

Stored size: 464 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 --quiet"        
      end
    end
  end
  
  after 'deploy:updating', 'composer:install'

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cap-laravel-0.0.8 lib/cap/tasks/composer.rake