Fix typos build instead of msbuild

Signed-off-by: FrancisANDRE <zosrothko@orange.fr>
This commit is contained in:
FrancisANDRE 2015-12-20 14:40:04 +01:00
parent 6b6081d95d
commit 1b20ce5a85

View File

@ -182,7 +182,7 @@ build_script:
$logger='C:\Progra~1\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll';
$samples='samples';$tests='tests';$verbosity='minimal';
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath "buildwin.cmd" -RSO cout -RSE cerr `
$process = Start-Process -PassThru -NoNewWindow -Wait -FilePath ".\buildwin.cmd" -RSO cout -RSE cerr `
-Args "$env:vsver build $env:linkmode $env:configuration $env:platform `
$samples $tests msbuild $verbosity $logger";
gc cout; gc cerr;
@ -227,7 +227,7 @@ test_script:
if ($env:configuration -eq "release")
{
if ($env:msbuild -eq "msbuild")
if ($env:build -eq "msbuild")
{
$suffix = '';
if ($env:platform -eq "Win32")
@ -284,7 +284,7 @@ test_script:
}
}
}
if ($env:msbuild -eq "cmake")
if ($env:build -eq "cmake")
{
Write-Host -ForegroundColor Yellow '>>> current directory is ' $(get-location).Path;
pushd cmake-build;