build tool handling

This commit is contained in:
Alex Fabijanic 2014-02-01 02:36:14 -06:00
parent b380047507
commit 58a544779d

View File

@ -330,9 +330,14 @@ function Build
Write-Host "| Building $vsProject"
Write-Host "+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++"
if ($tool -eq 'devenv') { Build-Devenv $vsProject }
if ($tool -eq 'devenv') { Build-Devenv $vsProject }
elseif ($tool -eq 'msbuild') { Build-MSBuild $vsProject }
else{ Write-Host "Tool not supported: $tool" }
elseif ($tool -ne '') { Write-Host "Build tool not supported: $tool" }
else
{
Write-Host "Build tool not specified. Exiting."
Exit
}
if ($tests)
{