PHP Classes

File: resources/buildfiles/phing-doc.xml

Recommend this page to a friend!
  Classes of jawira   Phing Build File Visualizer   resources/buildfiles/phing-doc.xml   Download  
File: resources/buildfiles/phing-doc.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: 4 years ago
Size: 1,609 bytes
 

Contents

Class file image Download
<?xml version="1.0" encoding="UTF-8"?> <project name="FooBar" default="dist"> <!-- ============================================ --> <!-- Target: prepare --> <!-- ============================================ --> <target name="prepare"> <echo msg="Making directory ./build"/> <mkdir dir="./build"/> </target> <!-- ============================================ --> <!-- Target: build --> <!-- ============================================ --> <target name="build" depends="prepare"> <echo msg="Copying files to build directory..."/> <echo msg="Copying ./about.php to ./build directory..."/> <copy file="./about.php" tofile="./build/about.php"/> <echo msg="Copying ./browsers.php to ./build directory..."/> <copy file="./browsers.php" tofile="./build/browsers.php"/> <echo msg="Copying ./contact.php to ./build directory..."/> <copy file="./contact.php" tofile="./build/contact.php"/> </target> <!-- ============================================ --> <!-- (DEFAULT) Target: dist --> <!-- ============================================ --> <target name="dist" depends="build"> <echo msg="Creating archive..."/> <tar destfile="./build/build.tar.gz" compression="gzip"> <fileset dir="./build"> <include name="*"/> </fileset> </tar> <echo msg="Files copied and compressed in build directory OK!"/> </target> </project>