Created
June 7, 2010 20:55
-
-
Save nalanj/429177 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<project name="Hello World" default="coverage" basedir="."> | |
<target name="coverage" description="Runs coverage against IIS and hits IIS asynchronously."> | |
<asyncexec program="C:\Program Files\NCover\NCover.Console.exe" | |
commandline="//iis //x async.nccov" | |
taskname="ncover" | |
failonerror="False" | |
resultproperty="NCoverOutput" | |
verbose="True" /> | |
<sleep seconds="10" /> <!-- this is here to make sure we have time to let IIS get started before we hit it --> | |
<asyncexec program="C:\Program Files\NCover\NCover.Console.exe" | |
commandline="//x client.nccov Client.exe" | |
taskname="Client" | |
failonerror="False" | |
verbose="True" /> | |
<waitforexit> | |
<tasknames> | |
<string value="Client" /> | |
</tasknames> | |
</waitforexit> | |
<exec program="C:\Windows\System32\iisreset.exe" /> | |
<waitforexit> | |
<tasknames> | |
<string value="ncover" /> | |
</tasknames> | |
</waitforexit> | |
</target> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Best "Hello World" EVAR.