Add CSV file data source
[bdrem.git] / build.xml
index 7118df2..f3fd933 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.5.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>
 
 
   <pearPackageFileset id="dep-Console_CommandLine" package="pear.php.net/Console_CommandLine"/>
   <pearPackageFileset id="dep-Console_Table" package="pear.php.net/Console_Table"/>
   <pearPackageFileset id="dep-Mail_mime" package="pear.php.net/Mail_mime"/>
+  <pearPackageFileset id="dep-Net_LDAP2" package="pear.php.net/Net_LDAP2"/>
   <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}">
    <fileset refid="dep-Console_CommandLine"/>
    <fileset refid="dep-Console_Table"/>
    <fileset refid="dep-Mail_mime"/>
+   <fileset refid="dep-Net_LDAP2"/>
    <fileset refid="dep-PEAR"/>
   </copy>
  </target>
 
+
+ <target name="docs" description="render documentation">
+  <rst file="README.rst"/>
+ </target>
+
 </project>