Try move condition to target block
This commit is contained in:
parent
fae4e066e9
commit
d97cd43174
1 changed files with 2 additions and 2 deletions
|
@ -77,12 +77,12 @@ declared in default.properties.
|
|||
<!-- Replaces the target in tools\ant\build.xml -->
|
||||
<import file="${sdk.dir}/tools/ant/build.xml" />
|
||||
|
||||
<target name="-package-resources" depends="-crunch">
|
||||
<if>
|
||||
<condition>
|
||||
<isset property="test.version"/>
|
||||
</condition>
|
||||
<then>
|
||||
<target name="-package-resources" depends="-crunch">
|
||||
<!-- this exec replicates the output of the aapt task in build.xml
|
||||
-package-resources with the addition of a rename-manifest-package option. -->
|
||||
<exec executable="${aapt}" failonerror="true">
|
||||
|
@ -104,9 +104,9 @@ declared in default.properties.
|
|||
<arg value="--rename-manifest-package" />
|
||||
<arg value="in.celest.xash3d.hl.test" />
|
||||
</exec>
|
||||
</target>
|
||||
</then>
|
||||
</if>
|
||||
</target>
|
||||
<!-- Import the actual build file.
|
||||
|
||||
To customize existing targets, there are two options:
|
||||
|
|
Loading…
Add table
Reference in a new issue