mirror of
https://github.com/scratchfoundation/Gestouch.git
synced 2024-11-23 07:47:59 -05:00
New Ant task for building "fat swc" (with embedded documentation)
This commit is contained in:
parent
fca1ae4bc9
commit
289b3a800b
1 changed files with 15 additions and 1 deletions
16
build.xml
16
build.xml
|
@ -8,7 +8,7 @@
|
|||
<property file="version.properties" />
|
||||
|
||||
|
||||
<target name="release" description="" depends="compile.swc, asdoc">
|
||||
<target name="release" description="" depends="compile.swc, asdoc, fat.swc">
|
||||
<!-- TODO: tests? -->
|
||||
</target>
|
||||
|
||||
|
@ -48,6 +48,7 @@
|
|||
<arg line="-exclude-classes com.inreflected.utils.pooling.ObjectPool"/>
|
||||
<arg line="-output ${asdoc.dir}"/>
|
||||
<arg value="-keep-xml=true"/>
|
||||
<arg value="-skip-xsl=true"/>
|
||||
<arg line="-window-title 'Gestouch ${project.version}'"/>
|
||||
<arg line="-main-title 'Gestouch ${project.version}'"/>
|
||||
<arg line="-footer 'Gestouch - http://github.com/fljot/Gestouch/ - Documentation generated at: ${docgen.time}'"/>
|
||||
|
@ -56,5 +57,18 @@
|
|||
</java>
|
||||
<echo>[asdoc] ASDOC documentation generated successfully</echo>
|
||||
</target>
|
||||
|
||||
<target name="fat.swc">
|
||||
<echo>[fat.swc] Adding documentation to swc</echo>
|
||||
<!-- updates swc with asdoc xml -->
|
||||
<zip destfile="${binrelease.dir}/gestouch-${project.version}.swc" update="true">
|
||||
<zipfileset dir="${asdoc.dir}/tempdita" prefix="docs">
|
||||
<include name="*.*" />
|
||||
<exclude name="ASDoc_Config.xml" />
|
||||
<exclude name="overviews.xml" />
|
||||
</zipfileset>
|
||||
</zip>
|
||||
<echo>[fat.swc] Documentation added to swc successfully</echo>
|
||||
</target>
|
||||
|
||||
</project>
|
Loading…
Reference in a new issue