Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
<target name="build.ane" description="Making ane file">
<exec executable="${FLEX_HOME}/bin/adt.bat" failonerror="true">
<arg value="-package"/>
<arg value="-target"/>
<arg value="ane"/>
<arg value="ane_ready_for_use/com.illuzor.extensions.NotificationExtension.ane"/>
<arg value="temp/ane/extension.xml"/>
<arg line="-swc"/>
<arg line="temp/ane/notifExtLib.swc"/>
<arg line="-platform Android-ARM -C temp/ane/android/ ."/>
<arg line="-platform default -C temp/ane/default/"/>
</exec>
<move file="temp/ane/notifExtLib.swc" tofile="ane_ready_for_use/notifExtLib.swc"/>
<echo file="ane_ready_for_use/extension_id.txt">${extension.id}</echo>
<delete dir="temp"/>
<echo message="Your extension located in ane_ready_for_use folder."/>
</target>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment