forked from abpframework/abp
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/abpframework/abp into dev
- Loading branch information
Showing
4 changed files
with
73 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
. ".\common.ps1" | ||
|
||
# Build all solutions | ||
|
||
foreach ($solutionPath in $solutionPaths) { | ||
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) | ||
Set-Location $solutionAbsPath | ||
dotnet build --configuration Release | ||
if (-Not $?) { | ||
Write-Host ("Build failed for the solution: " + $solutionPath) | ||
Set-Location $rootFolder | ||
exit $LASTEXITCODE | ||
} | ||
} | ||
|
||
Set-Location $rootFolder |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
. ".\common.ps1" | ||
|
||
# Build all solutions | ||
|
||
foreach ($solutionPath in $solutionPaths) { | ||
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) | ||
Set-Location $solutionAbsPath | ||
dotnet build | ||
if (-Not $?) { | ||
Write-Host ("Build failed for the solution: " + $solutionPath) | ||
Set-Location $rootFolder | ||
exit $LASTEXITCODE | ||
} | ||
} | ||
|
||
Set-Location $rootFolder |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# COMMON PATHS | ||
|
||
$rootFolder = (Get-Item -Path "./" -Verbose).FullName | ||
|
||
# List of solutions | ||
|
||
$solutionPaths = ( | ||
"../framework", | ||
"../modules/users", | ||
"../modules/permission-management", | ||
"../modules/setting-management", | ||
"../modules/feature-management", | ||
"../modules/identity", | ||
"../modules/identityserver", | ||
"../modules/tenant-management", | ||
"../modules/account", | ||
"../modules/docs", | ||
"../modules/blogging", | ||
"../modules/audit-logging", | ||
"../modules/background-jobs", | ||
"../modules/client-simulation", | ||
"../templates/module/aspnet-core", | ||
"../templates/app/aspnet-core", | ||
"../abp_io/AbpIoLocalization" | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
. ".\common.ps1" | ||
|
||
# Test all solutions | ||
|
||
foreach ($solutionPath in $solutionPaths) { | ||
$solutionAbsPath = (Join-Path $rootFolder $solutionPath) | ||
Set-Location $solutionAbsPath | ||
dotnet test --no-build --no-restore | ||
if (-Not $?) { | ||
Write-Host ("Test failed for the solution: " + $solutionPath) | ||
Set-Location $rootFolder | ||
exit $LASTEXITCODE | ||
} | ||
} | ||
|
||
Set-Location $rootFolder |