rna-code / bower-phpci-plugin
PHPCI plugin for Bower integration
1.0.3
2016-03-13 11:48 UTC
Requires
- php: >=5.3.3
Requires (Dev)
- block8/phpci: 1.6.x
This package is not auto-updated.
Last update: 2025-01-02 01:22:57 UTC
README
A plugin for PHPCI to download and install Bower packages required by your application.
Install the Plugin
- 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
Prerequisites
- Bower needs to be installed.
Plugin Options
- command [string, require] - Command name. See API
- directory [string, optional] - Relative path to run bower in.
- flags [list, optional] - Command flags
PHPCI Config
RNACode\PHPCI\Bower: command: install
example:
setup: ... RNACode\PHPCI\Bower: command: install flags: - "--allow-root" - "--save" ...
Output:
bower install --allow-root --save