Browse Source

Reduce build-all.ps1

pull/4882/head
Erol Arkat 6 years ago
parent
commit
9f60ec849e
  1. 6
      build/build-all.ps1
  2. 70
      build/common.ps1

6
build/build-all.ps1

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

70
build/common.ps1

@ -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 = ( if ($dev -eq "-d")
"../framework", {
"../modules/users", # List of solutions used only in development mode
"../modules/permission-management", Write-host ""
"../modules/setting-management", Write-host ":::::::::::::: !!! You are in development mode !!! ::::::::::::::" -ForegroundColor red -BackgroundColor yellow
"../modules/feature-management", Write-host ""
"../modules/identity", $solutionPaths = (
"../modules/identityserver", "../framework",
"../modules/tenant-management", "../modules/users",
"../modules/audit-logging", "../modules/permission-management",
"../modules/background-jobs", "../modules/setting-management",
"../modules/account", "../modules/feature-management",
"../modules/identity",
"../modules/client-simulation", "../modules/identityserver",
"../modules/virtual-file-explorer", "../modules/tenant-management",
"../modules/docs", "../modules/audit-logging",
"../modules/blogging", "../modules/background-jobs",
"../templates/module/aspnet-core", "../modules/account"
"../templates/app/aspnet-core", )
"../abp_io/AbpIoLocalization" }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