Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

Commit

Permalink
Phing build XML added
Browse files Browse the repository at this point in the history
  • Loading branch information
farazdagi committed May 3, 2011
1 parent 14d8988 commit 11492b6
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions build.xml
@@ -0,0 +1,23 @@
<?xml version="1.0"?>
<project name="phrozn-bundles-builder" description="Compile bundles" default="main" >
<target name="main" description="Main action">
<!-- create archives -->
<foreach param="dir" absparam="." target="create-archives">
<fileset dir=".">
<type type="dir" />
<depth max="0" min="0" />
<exclude name=".git/" />
</fileset>
</foreach>
</target>

<target name="create-archives" description="Create bundle archives">
<tar destfile="${dir}.tgz" compression="gzip">
<fileset dir="./${dir}">
<include name="**/**" />
</fileset>
</tar>
<echo>Compressing "${dir}" into "${dir}.tgz"</echo>
</target>

</project>

0 comments on commit 11492b6

Please sign in to comment.