2009-11-10 17:49:19 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<project name="SemanticScuttle" default="dist" basedir=".">
|
|
|
|
<!--
|
|
|
|
SemanticScuttle phing build file.
|
|
|
|
This script should provide a one-stop tool for all administrative
|
|
|
|
tasks around SemanticScuttle, like creating a release version,
|
|
|
|
tagging a release, running unit tests etc.
|
|
|
|
-->
|
2009-11-10 17:54:44 +00:00
|
|
|
<property name="version" value="0.95.0"/>
|
|
|
|
|
2009-11-10 17:49:19 +00:00
|
|
|
<target name="dist"><!-- depends="build">-->
|
2009-11-10 17:54:44 +00:00
|
|
|
<!--
|
|
|
|
The release file is for end users, so it is safe to
|
|
|
|
remove anything developer-related.
|
|
|
|
|
|
|
|
Test your zip with: unzip -l SemanticScuttle-0.95.0.zip
|
|
|
|
-->
|
|
|
|
<echo msg="Creating distribution zip for SemanticScuttle ${version}"/>
|
|
|
|
<delete file="SemanticScuttle-${version}.zip" failonerror="false"/>
|
|
|
|
<zip destfile="SemanticScuttle-${version}.zip" prefix="SemanticScuttle-${version}/">
|
2009-11-10 17:49:19 +00:00
|
|
|
<fileset dir=".">
|
|
|
|
<include name="**"/>
|
2009-11-10 17:54:44 +00:00
|
|
|
<exclude name="**/.gitignore"/>
|
|
|
|
<exclude name="**/.svn/"/>
|
|
|
|
<exclude name=".git/"/>
|
|
|
|
<exclude name="cache/"/>
|
|
|
|
<exclude name="tests/"/>
|
|
|
|
<exclude name="scripts/"/>
|
2009-11-10 17:49:19 +00:00
|
|
|
<exclude name="build.xml"/>
|
|
|
|
<exclude name="data/config.php"/>
|
2009-11-10 17:54:44 +00:00
|
|
|
<exclude name="data/locales/messages.po"/>
|
|
|
|
<exclude name="data/locales/*/LC_MESSAGES/messages.po"/>
|
|
|
|
<exclude name="doc/developers/"/>
|
|
|
|
<exclude name="SemanticScuttle-*"/>
|
|
|
|
<exclude name="src/php-gettext/examples/" />
|
|
|
|
<exclude name="src/php-gettext/bin/"/>
|
2009-11-10 17:49:19 +00:00
|
|
|
</fileset>
|
|
|
|
</zip>
|
|
|
|
</target>
|
|
|
|
|
|
|
|
</project>
|