mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 20:20:15 +02:00
Add global composer installation and running 'composer install'
This commit is contained in:
@@ -9,3 +9,4 @@
|
||||
- php
|
||||
- xdebug
|
||||
- app
|
||||
- composer
|
||||
|
5
ansible/roles/composer/tasks/main.yml
Normal file
5
ansible/roles/composer/tasks/main.yml
Normal file
@@ -0,0 +1,5 @@
|
||||
- name: Install Composer
|
||||
shell: curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer creates=/usr/local/bin/composer
|
||||
|
||||
- name: Install packages
|
||||
shell: cd /vagrant && composer install --optimize-autoloader
|
Reference in New Issue
Block a user