axmol/templates/lua-template-default/frameworks/runtime-src/proj.android/custom_rules.xml

13 lines
607 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<project name="custom_rules">
<target name="-post-build">
<!-- delete temp files -->
<delete>
<fileset dir="${out.absolute.dir}" includes="build.prop resources.ap_ ${dex.file.name}* ${resource.package.file.name}* ${ant.project.name}-release-unaligned.apk ${ant.project.name}-release-unsigned.apk*"/>
</delete>
<!-- rename final apk file -->
<property name="apk.final.name" value="${out.absolute.dir}/../../../../runtime/android/${ant.project.name}" />
<move file="${out.final.file}" tofile="${apk.final.name}.apk" />
</target>
</project>