PHP Classes

File: resources/buildfiles/gist-mapserver2007.xml

Recommend this page to a friend!
  Classes of jawira  >  Phing Build File Visualizer  >  resources/buildfiles/gist-mapserver2007.xml  >  Download  
File: resources/buildfiles/gist-mapserver2007.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,341 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="utf-8" ?>
<project name="stream" basedir="." default="main">

    <target name="main" depends="init,phpmd,phpcpd,test"></target>

    <!-- init -->
    <target name="init">
        <delete dir="./reports" includeemptydirs="true"/>
        <mkdir dir="./reports"/>
    </target>

    <!-- PHPUnit -->
    <target name="test">
        <phpunit haltonfailure="false" printsummary="true">
            <formatter type="xml" outfile="reports/phpunit.xml"/>
            <batchtest>
                <fileset dir="./core/test">
                    <include name="**/*Test.php"/>
                </fileset>
            </batchtest>
        </phpunit>
    </target>
    <!-- PHPMD -->
    <target name="phpmd">
        <phpmd rulesets="codesize,unusedcode,design,naming">
            <fileset dir="./">
                <include name="**/*.php"/>
                <exclude name="**/*Test.php"/>
            </fileset>
            <formatter type="xml" outfile="reports/pmd.xml"/>
        </phpmd>
    </target>
    <!-- PHPCPD -->
    <target name="phpcpd">
        <phpcpd>
            <fileset dir="./">
                <include name="**/*.php"/>
                <exclude name="**/*Test.php"/>
            </fileset>
            <formatter type="pmd" outfile="reports/cpd.xml"/>
        </phpcpd>
    </target>
</project>
For more information send a message to info at phpclasses dot org.