Added proper 'snapshot' target.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@113 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2006-10-13 22:34:00 +00:00
parent e063e9c98a
commit 5094eeebce
+14
View File
@@ -320,4 +320,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>