Added asdoc target.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@809 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -254,6 +254,24 @@
|
|||||||
</copy>
|
</copy>
|
||||||
</target>
|
</target>
|
||||||
|
|
||||||
|
<!-- builds the ActionScript documention -->
|
||||||
|
<target name="asdoc" unless="no_build_aslib" depends="checkaslib">
|
||||||
|
<mkdir dir="${deploy.dir}/asdocs"/>
|
||||||
|
<java classpath="${flexsdk.dir}/lib/asdoc.jar" classname="flex2.tools.ASDoc" fork="true">
|
||||||
|
<jvmarg value="-Xmx1024m"/>
|
||||||
|
<jvmarg value="-Dsun.io.useCanonCashes=false"/>
|
||||||
|
<jvmarg value="-Xbootclasspath/p:${flexsdk.dir}/asdoc/lib/xalan.jar"/>
|
||||||
|
<jvmarg value="-Dos.name=Windows"/>
|
||||||
|
<arg value="+flexlib=${flexsdk.dir}/frameworks"/>
|
||||||
|
<arg line="-library-path ${flexsdk.dir}/frameworks/libs"/>
|
||||||
|
<arg line="-library-path ${deploy.dir}/lib/naryalib-0.0-SNAPSHOT.swc"/>
|
||||||
|
<arg line="-library-path ${deploy.dir}/lib/nenyalib-0.0-SNAPSHOT.swc"/>
|
||||||
|
<arg line="-templates-path ${flexsdk.dir}/asdoc/templates"/>
|
||||||
|
<arg line="-doc-sources src/as"/>
|
||||||
|
<arg line="-output ${deploy.dir}/asdocs"/>
|
||||||
|
</java>
|
||||||
|
</target>
|
||||||
|
|
||||||
<!-- builds the various tests -->
|
<!-- builds the various tests -->
|
||||||
<target name="tcompile">
|
<target name="tcompile">
|
||||||
<ant dir="tests" target="compile"/>
|
<ant dir="tests" target="compile"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user