Skip to content

Commit

Permalink
Merge pull request #18 from stavroskasidis/master
Browse files Browse the repository at this point in the history
Update build-sample-apps.ps1
  • Loading branch information
stavroskasidis authored Apr 28, 2022
2 parents d6c0c5e + 6fc4696 commit 130d4c5
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion scripts/build-sample-apps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@ function Confirm-Process {
}
}

Write-Message "Building package test version..."
dotnet build ../src/BlazorWasmAntivirusProtection.Tasks/BlazorWasmAntivirusProtection.Tasks.csproj -c Release
dotnet build ../src/BlazorWasmAntivirusProtection/BlazorWasmAntivirusProtection.csproj -c Release /p:VersionSuffix="test"
Confirm-PreviousCommand

Write-Message "Creating test nuget package ..."
dotnet pack ../src/BlazorWasmAntivirusProtection/BlazorWasmAntivirusProtection.csproj -c Release /p:VersionSuffix="test" -o ../artifacts/nuget
Confirm-PreviousCommand

Write-Message "Building Hosted Sample App ..."
dotnet publish ../sampleapps/BlazorHostedSampleApp/Server/BlazorHostedSampleApp.Server.csproj -c Release -o ../artifacts/sample-apps/BlazorHostedSampleApp
Confirm-PreviousCommand
Expand All @@ -36,4 +45,4 @@ Write-Message "Building Hosted PWA Sample App ..."
dotnet publish ../sampleapps/BlazorHostedSamplePwa/Server/BlazorHostedSamplePwa.Server.csproj -c Release -o ../artifacts/sample-apps/BlazorHostedSamplePwa
Confirm-PreviousCommand

Write-Message "Build completed successfully"
Write-Message "Build completed successfully"

0 comments on commit 130d4c5

Please sign in to comment.