We want our javadocs in the snapshot as well.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@152 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Jonathan Le Plastrier
2007-01-24 02:27:34 +00:00
parent db7d7bd472
commit a568110d1d
+4 -1
View File
@@ -297,7 +297,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}"/>
@@ -312,6 +312,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>