Skip to content

RNACode/phpci-bower

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bower plugin for PHPCI

A plugin for PHPCI to download and install Bower packages required by your application.

Install the Plugin

  1. Navigate to your PHPCI root directory and run composer require rna-code/bower-phpci-plugin
  2. If you are using the PHPCI daemon, restart it
  3. Update your phpci.yml in the project you want to deploy with

Prerequisites

  1. 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