Reduce build-all.ps1

pull/4882/head
Erol Arkat 5 years ago
parent 328cb10ded
commit 9f60ec849e

@ -1,6 +1,8 @@
. ".\common.ps1"
$dev = $args[0]
# Build all solutions
. ".\common.ps1" $dev
# Build all solutions
foreach ($solutionPath in $solutionPaths) {
$solutionAbsPath = (Join-Path $rootFolder $solutionPath)

@ -1,27 +1,49 @@
# COMMON PATHS
$dev = $args[0]
$rootFolder = (Get-Item -Path "./" -Verbose).FullName
# COMMON PATHS
# List of solutions
$rootFolder = (Get-Item -Path "./" -Verbose).FullName
$solutionPaths = (
"../framework",
"../modules/users",
"../modules/permission-management",
"../modules/setting-management",
"../modules/feature-management",
"../modules/identity",
"../modules/identityserver",
"../modules/tenant-management",
"../modules/audit-logging",
"../modules/background-jobs",
"../modules/account",
"../modules/client-simulation",
"../modules/virtual-file-explorer",
"../modules/docs",
"../modules/blogging",
"../templates/module/aspnet-core",
"../templates/app/aspnet-core",
"../abp_io/AbpIoLocalization"
)
if ($dev -eq "-d")
{
# List of solutions used only in development mode
Write-host ""
Write-host ":::::::::::::: !!! You are in development mode !!! ::::::::::::::" -ForegroundColor red -BackgroundColor yellow
Write-host ""
$solutionPaths = (
"../framework",
"../modules/users",
"../modules/permission-management",
"../modules/setting-management",
"../modules/feature-management",
"../modules/identity",
"../modules/identityserver",
"../modules/tenant-management",
"../modules/audit-logging",
"../modules/background-jobs",
"../modules/account"
)
}else{
# List of all solutions
$solutionPaths = (
"../framework",
"../modules/users",
"../modules/permission-management",
"../modules/setting-management",
"../modules/feature-management",
"../modules/identity",
"../modules/identityserver",
"../modules/tenant-management",
"../modules/audit-logging",
"../modules/background-jobs",
"../modules/account",
"../modules/client-simulation",
"../modules/virtual-file-explorer",
"../modules/docs",
"../modules/blogging",
"../templates/module/aspnet-core",
"../templates/app/aspnet-core",
"../abp_io/AbpIoLocalization"
)
}

Loading…
Cancel
Save