jorgegc/phing-drush

A collection of Drush targets for Phing.

4.2.0 2018-09-18 08:08 UTC

This package is not auto-updated.

Last update: 2024-04-13 15:01:11 UTC


README

Overview

A collection of Drush targets for Phing.

Installation

This project can be checked out with Composer.

"require": {
    "jorgegc/phing-drush": "*"
}

If you are already running a Phing build in an existing project why not include these tasks as well with the following line in your build.xml:

<import file="vendor/jorgegc/phing-drush/build.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.cache.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.cron.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.database.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.download.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.features.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.files.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.install.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.maintenance.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.user.xml" optional="true" />
<import file="vendor/jorgegc/phing-drush/build.watchdog.xml" optional="true" />

We also provide some template files that should be added (and updated) to the root of the project. These files are:

  • example.aliases.drushrc.php

Usage

To get a list of tasks.

phing -l