|
|
|
@ -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 "" |
|
|
|
} |
|
|
|
|