Bower plugin for PHPCI
A plugin for PHPCI to download and install Bower packages required by your application.
- Navigate to your PHPCI root directory and run
composer require rna-code/bower-phpci-plugin
- If you are using the PHPCI daemon, restart it
- Update your
phpci.yml
in the project you want to deploy with
- Bower needs to be installed.
- command [string, require] - Command name. See API
- directory [string, optional] - Relative path to run bower in.
- flags [list, optional] - Command flags
RNACode\PHPCI\Bower:
command: install
example:
setup:
...
RNACode\PHPCI\Bower:
command: install
flags:
- "--allow-root"
- "--save"
...
Output:
bower install --allow-root --save