Skip to content

codemile/phing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ThinkingMedia/Phing Build Status

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.

Name Type Description Default Required
output string The relative output path for the deps.js file. n/a Yes
library string The relative location to the closure library n/a Yes
prefix string A URL prefix to load JS files relative to goog/base.js n/a Yes
<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.

About

A collection of custom build tasks for Phing

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages