A collection of custom tasks for Phing

v1.0.0 2015-04-14 14:48 UTC

This package is not auto-updated.

Last update: 2024-10-26 16:52:22 UTC


README

Code Climate License

ThinkingMedia/Phing is a collection of custom Phing tasks that we use daily on our web development projects.

Usage

ThinkingMedia/Phing are Phing custom tasks implemented with PSR-0 namespaces and installed in your project via composer. You need to include the composer autoloader and include the ThinkingMedia/Phing project path before you can use them.

Here is an empty build.xml file to get you started.

<?xml version="1.0"?>
<project name="YourProjectName" default="build">
    <php expression="include('vendor/autoload.php')"/>
    <includepath classpath="vendor/thinkingmedia/phing/src"/>
    
    <target name="build">
    </target>
</project>

Tasks

###DepsTask

Handles executing Google's Closure Dependency generator for JavaScript.

<taskdef name="deps" classname="GemsPhing.Closure.DepsTask"/>

<deps output="www/deps.js" library="./www/closure-library" prefix="../../../src/cgTag">
    <fileset dir="./www/src/cgTag"/>
</deps>

Installation Latest Stable Version

Install using composer:

 composer require thinkingmedia/phing

Total Downloads Latest Unstable Version

Unit Tests Test Coverage

For running unit tests you need phpunit. After installing, you can run the unit test suite by running:

$ phpunit

Requirements

  • ThinkingMedia/Phing requires Phing 2.x or above, but is not listed as a dependency in composer.

Submitting bugs and feature requests

Bugs and feature requests are tracked on GitHub

Author

Mathew Foscarini - support@thinkingmedia.ca - http://www.thinkingmedia.ca

See also the list of contributors which participated in this project.

License

Phing is licensed under the MIT License - see the LICENSE file for details.