cops/build.xml

44 lines
1.5 KiB
XML
Raw Normal View History

2013-12-31 12:16:11 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<project name="COPS" default="dist">
<target name="clean" >
<delete>
<fileset dir=".">
<include name="cops.zip" />
</fileset>
</delete>
</target>
<!-- ============================================ -->
<!-- (DEFAULT) Target: dist -->
<!-- ============================================ -->
<target name="dist" depends="clean">
<echo msg="Creating archive..." />
<zip destfile="cops.zip">
<fileset dir=".">
<include name="**" />
<exclude name="test/**" />
<exclude name=".hg*/**" />
<exclude name=".git/**" />
<exclude name="tools/**" />
<exclude name="coverage/**" />
2014-03-20 17:00:54 +02:00
<exclude name="saucetest/**" />
2013-12-31 12:16:11 +02:00
<exclude name="resources/epub-loader/**" />
<exclude name="*.phar" />
<exclude name="*.zip" />
<exclude name="*.zip" />
<exclude name="*.xml" />
<exclude name=".travis.yml" />
<exclude name=".coveralls.yml" />
2014-03-20 17:00:54 +02:00
<exclude name="config_local.php" />
2013-12-31 12:16:11 +02:00
<exclude name="composer.json" />
2014-03-20 17:00:54 +02:00
<exclude name="cops.sublime*" />
2013-12-31 12:16:11 +02:00
</fileset>
</zip>
<echo msg="Files copied and compressed in build directory OK!" />
</target>
</project>