From 965e9aea939b6f8627319832ff8fe3f1eeaf43e2 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Fri, 14 Dec 2012 12:11:07 -0800 Subject: [PATCH] Changed the build.proj to auto start IIS and utilize a new MSBuild based start mechanism - Removed the old StartIIS.ps1 powershell script, this is now handled via msbuild. --- build/Build.proj | 20 +++++++++++++------- build/Build.tasks | 2 ++ tools/chutzpah/StartIIS.ps1 | 7 ------- 3 files changed, 15 insertions(+), 14 deletions(-) delete mode 100644 tools/chutzpah/StartIIS.ps1 diff --git a/build/Build.proj b/build/Build.proj index 5d034cd84a..c70bbe0c01 100644 --- a/build/Build.proj +++ b/build/Build.proj @@ -13,8 +13,12 @@ $(NuGetToolsPath)\nuget.exe $(ProjectRoot)\tools\ $(ToolsPath)xunit\ - $(ProjectRoot)\tools\chutzpah\chutzpah.console.exe - $(ProjectRoot)\tests\Microsoft.AspNet.SignalR.Client.JS.Tests\CommandLineBridge.js + chutzpah.console.exe + $(ProjectRoot)\tools\chutzpah + $(ChutzpahPath)\$(ChutzpahExe) + http://localhost:1337/signalr + $(ProjectRoot)\tests\Microsoft.AspNet.SignalR.Client.JS.Tests + $(JSTestsPath)\default.html $(ToolsPath)docu\docu.exe $(ToolsPath)7za920\7za.exe $(ArtifactsDir)\Microsoft.AspNet.SignalR.Client.JS\Scripts @@ -140,16 +144,18 @@ - - - - + + + diff --git a/build/Build.tasks b/build/Build.tasks index b68814325f..9ff35b482f 100644 --- a/build/Build.tasks +++ b/build/Build.tasks @@ -56,4 +56,6 @@ ]]> + + \ No newline at end of file diff --git a/tools/chutzpah/StartIIS.ps1 b/tools/chutzpah/StartIIS.ps1 deleted file mode 100644 index 1738f82ad7..0000000000 --- a/tools/chutzpah/StartIIS.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -[System.Reflection.Assembly]::LoadFile("C:\Users\nimullen\Documents\GitHub\SignalR\tests\Microsoft.AspNet.SignalR.FunctionalTests\artifacts\Debug\bin\Microsoft.AspNet.SignalR.FunctionalTests.dll"); -[System.Reflection.Assembly]::LoadFile("C:\Users\nimullen\Documents\GitHub\SignalR\tests\Microsoft.AspNet.SignalR.FunctionalTests\artifacts\Debug\bin\Microsoft.AspNet.SignalR.Client.dll"); -[System.IO.Directory]::SetCurrentDirectory("C:\Users\nimullen\Documents\GitHub\SignalR\tests\Microsoft.AspNet.SignalR.Client.JS.Tests") - -$myHost = New-Object Microsoft.AspNet.SignalR.FunctionalTests.Infrastructure.IISExpressTestHost "C:\Users\nimullen\Documents\GitHub\SignalR\tests\Microsoft.AspNet.SignalR.Client.JS.Tests" - -$myHost.Initialize(15,120,10,1) \ No newline at end of file