added -f parameter for build-all.ps1

pull/4882/head
Erol Arkat 5 years ago
parent 42fbf52ed5
commit e001950324

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

@ -1,16 +1,11 @@
$dev = $args[0]
$full = $args[0]
# COMMON PATHS
$rootFolder = (Get-Item -Path "./" -Verbose).FullName
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 = (
# List of solutions used only in development mode
$solutionPaths = @(
"../framework",
"../modules/users",
"../modules/permission-management",
@ -23,21 +18,11 @@ if ($dev -eq "-d")
"../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",
if ($full -eq "-f")
{
# List of additional solutions required for full build
$solutionPaths += (
"../modules/client-simulation",
"../modules/virtual-file-explorer",
"../modules/docs",
@ -45,5 +30,9 @@ if ($dev -eq "-d")
"../templates/module/aspnet-core",
"../templates/app/aspnet-core",
"../abp_io/AbpIoLocalization"
)
)
}else{
Write-host ""
Write-host ":::::::::::::: !!! You are in development mode !!! ::::::::::::::" -ForegroundColor red -BackgroundColor yellow
Write-host ""
}

Loading…
Cancel
Save