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:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user