Browse Source

Remove build scripts.

rel-2.0
maliming 6 years ago
parent
commit
abfdc50ca7
  1. 49
      build-all-release.ps1
  2. 49
      build-all.ps1
  3. 49
      test-all.ps1

49
build-all-release.ps1

@ -1,49 +0,0 @@
# 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",
"samples/BasicAspNetCoreApplication",
"samples/BasicConsoleApplication",
"samples/BookStore",
"samples/BookStore-Angular-MongoDb/aspnet-core",
"samples/BookStore-Modular/modules/book-management",
"samples/BookStore-Modular/application",
"samples/DashboardDemo",
"samples/MicroserviceDemo",
"samples/RabbitMqEventBus",
"abp_io/AbpIoLocalization"
)
# 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

49
build-all.ps1

@ -1,49 +0,0 @@
# 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",
"samples/BasicAspNetCoreApplication",
"samples/BasicConsoleApplication",
"samples/BookStore",
"samples/BookStore-Angular-MongoDb/aspnet-core",
"samples/BookStore-Modular/modules/book-management",
"samples/BookStore-Modular/application",
"samples/DashboardDemo",
"samples/MicroserviceDemo",
"samples/RabbitMqEventBus",
"abp_io/AbpIoLocalization"
)
# 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

49
test-all.ps1

@ -1,49 +0,0 @@
# 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",
"samples/BasicAspNetCoreApplication",
"samples/BasicConsoleApplication",
"samples/BookStore",
"samples/BookStore-Angular-MongoDb/aspnet-core",
"samples/BookStore-Modular/modules/book-management",
"samples/BookStore-Modular/application",
"samples/DashboardDemo",
"samples/MicroserviceDemo",
"samples/RabbitMqEventBus",
"abp_io/AbpIoLocalization"
)
# 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
Loading…
Cancel
Save