Created
December 11, 2017 14:25
-
-
Save kmorcinek/20e30e2c1455d26ac40e2d749bfc61cf 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
Task BuildInReleaseToAssertStyleCop -Depends Build { | |
$tempReleaseOutputPath = $build_artifacts_dir + "ReleaseToAssertStyleCop" | |
Ensure-Directory-Is-Clean $tempReleaseOutputPath | |
Write-Host "Building $solution_name.sln in Release" -ForegroundColor Green | |
RunMsBuild { msbuild "$code_dir\$solution_name.sln" /t:Build /p:Configuration=Release /v:quiet /p:OutDir=$tempReleaseOutputPath } | |
Remove-Item $tempReleaseOutputPath -rec -force | out-null | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment