Skip to content

Commit

Permalink
symfony configure now uses composer::install recipe to allow installa…
Browse files Browse the repository at this point in the history
…tion of private repositories.
  • Loading branch information
onema committed Oct 30, 2013
1 parent a359bdb commit 53757ce
Showing 1 changed file with 1 addition and 31 deletions.
32 changes: 1 addition & 31 deletions symfony/recipes/configure.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,38 +35,8 @@
end


script "install_composer" do
interpreter "bash"
user "root"
cwd "#{deploy[:deploy_to]}/current"
code <<-EOH
curl -s https://getcomposer.org/installer | php
EOH
end


script "optimize_autoloader" do
interpreter "bash"
user "root"
cwd "#{deploy[:deploy_to]}/current"
code <<-EOH
php composer.phar install --optimize-autoloader
EOH
end


# script "update_composer" do
# interpreter "bash"
# user "root"
# cwd "#{deploy[:deploy_to]}/current"
# code <<-EOH
# php composer.phar install
# php composer.phar update
# php app/console cache:clear --env=prod --no-debug
# EOH
# end
include_recipe 'composer::install'


include_recipe 'symfony::paramconfig'

end

0 comments on commit 53757ce

Please sign in to comment.