We want our javadocs in the snapshot as well.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4511 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Jonathan Le Plastrier
2007-01-24 02:27:23 +00:00
parent 7de0fbc814
commit 1a67ae4e05
+4 -1
View File
@@ -251,7 +251,7 @@
</target> </target>
<!-- creates a zipfile with our source distribution --> <!-- creates a zipfile with our source distribution -->
<target name="snapshot"> <target name="snapshot" depends="javadoc">
<echo message="You may want to stop and run 'ant savedoc' first."/> <echo message="You may want to stop and run 'ant savedoc' first."/>
<delete file="${deploy.dir}/${app.name}-snapshot.zip"/> <delete file="${deploy.dir}/${app.name}-snapshot.zip"/>
<mkdir dir="${deploy.dir}/snapshot/${app.name}"/> <mkdir dir="${deploy.dir}/snapshot/${app.name}"/>
@@ -266,6 +266,9 @@
<copy todir="${deploy.dir}/snapshot/${app.name}/lib"> <copy todir="${deploy.dir}/snapshot/${app.name}/lib">
<fileset dir="${deploy.dir}/lib" includes="*.jar"/> <fileset dir="${deploy.dir}/lib" includes="*.jar"/>
</copy> </copy>
<copy todir="${deploy.dir}/snapshot/${app.name}/docs/api">
<fileset dir="${deploy.dir}/docs" includes="**"/>
</copy>
<zip destfile="${deploy.dir}/${app.name}-snapshot.zip" basedir="${deploy.dir}/snapshot"/> <zip destfile="${deploy.dir}/${app.name}-snapshot.zip" basedir="${deploy.dir}/snapshot"/>
<delete dir="${deploy.dir}/snapshot"/> <delete dir="${deploy.dir}/snapshot"/>
</target> </target>