зеркало из https://github.com/aspnet/KoreBuild.git
Use binary logging instead of plaintext file logging
This commit is contained in:
Родитель
5dab67e87d
Коммит
c367af001c
|
@ -100,7 +100,7 @@ if (!($env:Path.Split(';') -icontains $dotnetLocalInstallFolder))
|
|||
|
||||
$makeFileProj = "$PSScriptRoot/KoreBuild.proj"
|
||||
$msbuildArtifactsDir = "$repoFolder/artifacts/msbuild"
|
||||
$msbuildLogFilePath = "$msbuildArtifactsDir/msbuild.log"
|
||||
$msbuildLogFilePath = "$msbuildArtifactsDir/msbuild.binlog"
|
||||
$msBuildResponseFile = "$msbuildArtifactsDir/msbuild.rsp"
|
||||
|
||||
|
||||
|
@ -108,8 +108,7 @@ $msBuildArguments = @"
|
|||
/nologo
|
||||
/m
|
||||
/p:RepositoryRoot="$repoFolder/"
|
||||
/fl
|
||||
/flp:LogFile="$msbuildLogFilePath";Verbosity=detailed;Encoding=UTF-8
|
||||
/bl:"$msbuildLogFilePath"
|
||||
/clp:Summary
|
||||
"$makeFileProj"
|
||||
"@
|
||||
|
|
|
@ -135,7 +135,7 @@ export ReferenceAssemblyRoot=$NUGET_PACKAGES/netframeworkreferenceassemblies/$ne
|
|||
makeFileProj="$scriptRoot/KoreBuild.proj"
|
||||
msbuildArtifactsDir="$repoFolder/artifacts/msbuild"
|
||||
msbuildResponseFile="$msbuildArtifactsDir/msbuild.rsp"
|
||||
msbuildLogFile="$msbuildArtifactsDir/msbuild.log"
|
||||
msbuildLogFile="$msbuildArtifactsDir/msbuild.binlog"
|
||||
|
||||
if [ ! -f $msbuildArtifactsDir ]; then
|
||||
mkdir -p $msbuildArtifactsDir
|
||||
|
@ -145,8 +145,7 @@ cat > $msbuildResponseFile <<ENDMSBUILDARGS
|
|||
/nologo
|
||||
/m
|
||||
/p:RepositoryRoot="$repoFolder/"
|
||||
/fl
|
||||
/flp:LogFile="$msbuildLogFile";Verbosity=detailed;Encoding=UTF-8
|
||||
/bl:"$msbuildLogFile"
|
||||
/clp:Summary
|
||||
"$makeFileProj"
|
||||
ENDMSBUILDARGS
|
||||
|
|
Загрузка…
Ссылка в новой задаче