Improved branch builds to include Server.Azure.
This commit is contained in:
Родитель
268779ed8d
Коммит
ef417ea14f
|
@ -78,12 +78,12 @@ try {
|
|||
|
||||
${env:$HOME} = $PSScriptRoot
|
||||
Invoke-Git . --version
|
||||
|
||||
|
||||
Write-Output "Building SharpLab..."
|
||||
Write-Output " Restoring packages..."
|
||||
dotnet restore "$sourceRoot\SharpLab.sln"
|
||||
Write-Output " Server.csproj"
|
||||
dotnet build "$sourceRoot\Server\Server.csproj" `
|
||||
Write-Output " Server.Azure.csproj"
|
||||
dotnet build "$sourceRoot\Server.Azure\Server.Azure.csproj" `
|
||||
/p:AllowedReferenceRelatedFileExtensions=.pdb `
|
||||
/p:Configuration=Release
|
||||
if ($LastExitCode -ne 0) {
|
||||
|
@ -105,7 +105,7 @@ try {
|
|||
Write-Output "Deleting $failedListPath..."
|
||||
Remove-Item $failedListPath
|
||||
}
|
||||
|
||||
|
||||
$buildConfig.RoslynRepositories | % {
|
||||
Write-Output "Building repository '$($_.Name)' ($($_.Url))..."
|
||||
$repositorySourceRoot = Ensure-ResolvedPath "$roslynSourcesRoot\$($_.Name)"
|
||||
|
@ -191,7 +191,7 @@ try {
|
|||
Write-Output "Resolving and copying assemblies..."
|
||||
$resolverLogPath = "$branchArtifactsRoot\AssemblyResolver.log"
|
||||
$resolverCommand = "&""$assemblyResolver""" +
|
||||
" --source-bin ""$sourceRoot\Server\bin\Release"" " +
|
||||
" --source-bin ""$sourceRoot\Server.Azure\bin\Release"" " +
|
||||
" --roslyn-bin ""$branchBinariesPath""" +
|
||||
" --target ""$(Ensure-ResolvedPath $siteRoot\bin)""" +
|
||||
" --target-app-config ""$siteRoot\Web.config""" +
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
<TargetFramework>net46</TargetFramework>
|
||||
<AssemblyName>SharpLab.Runtime</AssemblyName>
|
||||
<RootNamespace>SharpLab.Runtime</RootNamespace>
|
||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
Загрузка…
Ссылка в новой задаче