Browse Source

Benefit from csc's new default for the executable

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@275684 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 21 years ago
parent
commit
82146e779c
1 changed files with 5 additions and 19 deletions
  1. +5
    -19
      proposal/sandbox/dotnet/src/etc/testcases/dotnetexec.xml

+ 5
- 19
proposal/sandbox/dotnet/src/etc/testcases/dotnetexec.xml View File

@@ -58,30 +58,16 @@
<fail unless="c#.found">Needed C# compiler is missing</fail>
</target>

<target name="testCSC" depends="testCSC-Mono,testCSC-MS">
<target name="testCSC" depends="validate_csc">
<csc
destFile="${testCSC.exe}"
targetType="exe"
/>
<available property="app.created" file="${testCSC.exe}"/>
<fail unless="app.created">No app ${testCSC.exe} created</fail>
<dn:dotnetexec executable="${testCSC.exe}" failonerror="true" />
<delete file="${testCSC.exe}"/>
</target>

<target name="testCSC-MS" depends="validate_csc" if="csc.found">
<csc
destFile="${testCSC.exe}"
targetType="exe"
>
</csc>
</target>

<target name="testCSC-Mono" depends="validate_csc" if="mcs.found">
<csc
destFile="${testCSC.exe}"
targetType="exe"
executable="mcs"
includedefaultreferences="true"
>
</csc>
</target>

</project>


Loading…
Cancel
Save