Skip to content

Commit

Permalink
Updating the build routines for Phing.
Browse files Browse the repository at this point in the history
  • Loading branch information
zyxist committed Feb 2, 2011
1 parent f416a22 commit 2ac5f6c
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,19 @@
<target name="build" depends="prepare">
<echo msg="Copying files" />

<copy todir="${project.directory.build}/lib">
<fileset dir="./lib">
<copy todir="${project.directory.build}/src">
<fileset dir="./src">
<include name="**/*.php" />
</fileset>
</copy>
<copy todir="${project.directory.build}/tests">
<fileset dir="./tests">
<include name="**" />
<exclude name="bootstrap.php" />
<exclude name="cache/**" />
<exclude name="coverage/**" />
</fileset>
</copy>
<copy file="LICENSE" tofile="${project.directory.build}/LICENSE" overwrite="true"/>
<copy file="README.md" tofile="${project.directory.build}/README" overwrite="true"/>
</target>
Expand All @@ -58,7 +66,7 @@
</fileset>
</zip>
<pharpackage destfile="${project.directory.output}/${project.filename}.phar" basedir="./" signature="sha1">
<fileset dir="${project.directory.build}/lib/">
<fileset dir="${project.directory.build}/src/">
<include name="**" />
</fileset>
<metadata>
Expand Down

0 comments on commit 2ac5f6c

Please sign in to comment.