fix version in user interface
[bdrem.git] / build.xml
index 94e425a..845a053 100644 (file)
--- a/build.xml
+++ b/build.xml
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <project name="bdrem" default="phar" basedir=".">
 
- <property name="version"  value="0.1.0" />
+ <property name="version"  value="0.6.0" />
  <property name="pharfile" value="${phing.dir}/dist/${phing.project.name}-${version}.phar" />
  <property name="libdir" value="${phing.dir}/lib"/>
 
   >
    <fileset refid="fs.phar"/>
   </pharpackage>
+
+  <exec executable="bzip2" dir="${phing.dir}/dist">
+   <arg value="-kf"/>
+   <arg file="${pharfile}"/>
+  </exec>
  </target>
 
 
@@ -57,6 +62,7 @@
   <pearPackageFileset id="dep-PEAR" package="pear.php.net/PEAR">
    <include name="PEAR/Exception.php"/>
    <include name="PEAR.php"/>
+   <include name="PEAR5.php"/>
   </pearPackageFileset>
 
   <copy todir="${libdir}">
@@ -69,4 +75,9 @@
   </copy>
  </target>
 
+
+ <target name="docs" description="render documentation">
+  <rst file="README.rst"/>
+ </target>
+
 </project>