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: 2 years ago
Size: 1,213 bytes


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

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

    - Target's depends
    - RunTargetTask
    - PhingCallTask
    - ForeachTask

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

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

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

    <target name="notifying" depends="composer">
        <foreach target="emailing" list=",," param="address"/>
        <foreach target="irc" list="junior, guest, hacker123" param="alias"/>

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

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

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

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