PHP Classes

File: resources/buildfiles/dummy.xml

Recommend this page to a friend!
  Classes of jawira  >  Phing Build File Visualizer  >  resources/buildfiles/dummy.xml  >  Download  
File: resources/buildfiles/dummy.xml
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Phing Build File Visualizer
Render chart to represent a Phing build process
Author: By
Last change:
Date: 1 year ago
Size: 1,213 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8" ?>

<project name="Dummy" description="Using supported tasks" default="init">

    <description>
    - Target's depends
    - RunTargetTask
    - PhingCallTask
    - ForeachTask
    </description>

    <target name="init" depends="composer">
        <echo>Hello world, this is init target.</echo>
    </target>

    <target name="composer">
        <echo>Creating vendor directory</echo>
    </target>

    <target name="tests" depends="composer">
        <echo>Running all available tests</echo>
        <runtarget target="phpunit"/>
        <phingcall target="behat"/>
    </target>

    <target name="notifying" depends="composer">
        <foreach target="emailing" list="friend@yahoo.es, mom@msn.com, dad@hotmail.com" param="address"/>
        <foreach target="irc" list="junior, guest, hacker123" param="alias"/>
    </target>

    <target name="emailing">
        <echo>Emailing to ${address}</echo>
    </target>

    <target name="irc">
        <echo>Sending message to ${alias}</echo>
    </target>

    <target name="phpunit">
        <echo>Running PHPUnit</echo>
    </target>

    <target name="behat">
        <echo>Running Behat</echo>
    </target>
</project>
For more information send a message to info at phpclasses dot org.