mglaman/phpci-drush

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

Adds Drush to PHPCI

dev-master 2015-05-19 20:56 UTC

This package is auto-updated.

Last update: 2021-10-13 11:13:26 UTC


README

Drush plugin for PHPCI

Usage

Add to PHPCI

Add the package to your PHPCI's composer required projects.

composer require mglaman/phpci-drush

Use in projects

Output the current Drush version.

    \mglaman\PhpciPlugins\DrushPlugin:
        command: "version"

Enable specific modules.

    \mglaman\PhpciPlugins\DrushPlugin:
        command: "pm-enable"
        arguments: 
            - "ctools"
            - "panels"
            - "page_manager"
        options: 
            - "yes"

Run a makefile.

    \mglaman\PhpciPlugins\DrushPlugin:
        command: "make"
        arguments:
            - "drupal-org.make.yml"
        options:
            - "verbose"
            - "no-cache"
            - "no-core"
            - "contrib-destination=."
            - "yes"