From f56969f13ba732352274120813a2e23a113f3670 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 31 Mar 2023 23:31:38 +0300 Subject: [PATCH 1/3] added maxcpucount --- build/build-all-release.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/build-all-release.ps1 b/build/build-all-release.ps1 index f54912d4f5..31aed989cd 100644 --- a/build/build-all-release.ps1 +++ b/build/build-all-release.ps1 @@ -5,7 +5,7 @@ foreach ($solutionPath in $solutionPaths) { $solutionAbsPath = (Join-Path $rootFolder $solutionPath) Set-Location $solutionAbsPath - dotnet build --configuration Release + dotnet build --configuration Release -- /maxcpucount if (-Not $?) { Write-Host ("Build failed for the solution: " + $solutionPath) Set-Location $rootFolder From 1431f62c72784b67aeb89fb24b404b7a61de7ec4 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 31 Mar 2023 23:31:58 +0300 Subject: [PATCH 2/3] --no-build --- nupkg/pack.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nupkg/pack.ps1 b/nupkg/pack.ps1 index fbe4a864ad..7723c93842 100644 --- a/nupkg/pack.ps1 +++ b/nupkg/pack.ps1 @@ -23,8 +23,8 @@ foreach($project in $projects) { # Create nuget pack Write-Info "[$i / $projectsCount] - Packing project: $projectName" Set-Location $projectFolder -# dotnet clean - dotnet pack -c Release /maxcpucount +# dotnet clean + dotnet pack -c Release --no-build if (-Not $?) { Write-Error "Packaging failed for the project: $projectName" From 91faa7291472744b76111c21aeedf613b2bc48f0 Mon Sep 17 00:00:00 2001 From: selmankoc Date: Fri, 31 Mar 2023 23:32:02 +0300 Subject: [PATCH 3/3] Update unit_test.ps1 --- nupkg/unit_test.ps1 | 2 -- 1 file changed, 2 deletions(-) diff --git a/nupkg/unit_test.ps1 b/nupkg/unit_test.ps1 index 07cdfe3655..f081dd1e2f 100644 --- a/nupkg/unit_test.ps1 +++ b/nupkg/unit_test.ps1 @@ -5,6 +5,4 @@ foreach($solution in $solutions) { $solutionFolder = Join-Path $rootFolder $solution Set-Location $solutionFolder dotnet test --no-build --logger trx - - }