Added proper 'snapshot' target.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@53 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Michael Bayne
2006-10-13 22:34:05 +00:00
parent 53e5b66308
commit 79901ef5e2
+14
View File
@@ -266,4 +266,18 @@
</zip>
</target>
<!-- creates a zipfile with our source distribution -->
<target name="snapshot">
<echo message="You may want to stop and run 'ant savedoc' first."/>
<delete file="${app.name}-snapshot.zip"/>
<zip destfile="${app.name}-snapshot.zip">
<fileset dir="..">
<include name="${app.name}/**"/>
<exclude name="${app.name}/dist/**"/>
<exclude name="${app.name}/tests/dist/**"/>
<exclude name="${app.name}/${app.name}-*.zip"/>
</fileset>
</zip>
</target>
</project>