We want our javadocs in the snapshot as well.

git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@121 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Jonathan Le Plastrier
2007-01-24 02:27:28 +00:00
parent 23760740b2
commit a06abd514d
+4 -1
View File
@@ -243,7 +243,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}"/>
@@ -258,6 +258,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>