diff options
author | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-10 17:54:44 +0000 |
---|---|---|
committer | cweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f> | 2009-11-10 17:54:44 +0000 |
commit | 3739c1342d4f424e6e6aceba984fa8b2caf51dae (patch) | |
tree | e73291e76985de4b95f1c785935e82d37edc33a4 | |
parent | 078c88fdff7a2805ab38334caadff984b7d289db (diff) | |
download | semanticscuttle-3739c1342d4f424e6e6aceba984fa8b2caf51dae.tar.gz semanticscuttle-3739c1342d4f424e6e6aceba984fa8b2caf51dae.tar.bz2 |
modify build.xml to not include everything. maybe we should use a opt-in approach
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@537 b3834d28-1941-0410-a4f8-b48e95affb8f
-rw-r--r-- | build.xml | 26 |
1 files changed, 23 insertions, 3 deletions
@@ -6,14 +6,34 @@ tasks around SemanticScuttle, like creating a release version, tagging a release, running unit tests etc. --> + <property name="version" value="0.95.0"/> + <target name="dist"><!-- depends="build">--> - <echo msg="Creating distribution zip for SemanticScuttle {$version}"/> - <zip destfile="SemanticScuttle-{$version}.zip"> + <!-- + 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}/"> <fileset dir="."> <include name="**"/> + <exclude name="**/.gitignore"/> + <exclude name="**/.svn/"/> + <exclude name=".git/"/> + <exclude name="cache/"/> + <exclude name="tests/"/> + <exclude name="scripts/"/> <exclude name="build.xml"/> - <exclude name="cache"/> <exclude name="data/config.php"/> + <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/"/> </fileset> </zip> </target> |