mirror of https://github.com/abpframework/abp
				
				
				
			
			You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							42 lines
						
					
					
						
							965 B
						
					
					
				
			
		
		
	
	
							42 lines
						
					
					
						
							965 B
						
					
					
				# 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",
 | 
						|
    "abp_io",
 | 
						|
    "templates/mvc-module",
 | 
						|
    "templates/mvc",
 | 
						|
    "samples/MicroserviceDemo"
 | 
						|
)
 | 
						|
 | 
						|
# 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
 |