Call the Flash libraries {library}lib.swc to match the pattern of flexlib.swc
and also to make the Maven artifact not look like a meta-artifact that brings in all Narya/Nenya/Vilya dependencies. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@562 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -156,6 +156,7 @@
|
||||
<delete dir="${deploy.dir}/classes"/>
|
||||
<delete dir="${deploy.dir}/docs"/>
|
||||
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.jar"/></delete>
|
||||
<delete failonerror="false"><fileset dir="${deploy.dir}" includes="*.swc"/></delete>
|
||||
</target>
|
||||
|
||||
<!-- wipes the entire build directory clean -->
|
||||
@@ -187,7 +188,7 @@
|
||||
<target name="checkaslib">
|
||||
<condition property="no_build_aslib"><or>
|
||||
<not><available file="${flexsdk.dir}/lib/compc.jar"/></not>
|
||||
<uptodate targetfile="${deploy.dir}/${lib.name}.swc">
|
||||
<uptodate targetfile="${deploy.dir}/${lib.name}lib.swc">
|
||||
<srcfiles dir="src/as" includes="**/*.as"/>
|
||||
</uptodate>
|
||||
</or></condition>
|
||||
@@ -208,7 +209,7 @@
|
||||
<arg value="-compiler.source-path=src/as/"/>
|
||||
<arg value="-include-sources=src/as/"/>
|
||||
<arg value="-output"/>
|
||||
<arg value="${deploy.dir}/${lib.name}.swc"/>
|
||||
<arg value="${deploy.dir}/${lib.name}lib.swc"/>
|
||||
</java>
|
||||
<delete file="${deploy.dir}/aslib-config.xml"/>
|
||||
</target>
|
||||
|
||||
Reference in New Issue
Block a user