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.
11 lines
387 B
11 lines
387 B
. "./build-aspnetcore-common.ps1"
|
|
|
|
# Build all solutions
|
|
foreach ($service in $serviceArray) {
|
|
Set-Location $service.Path
|
|
$publishPath = $service.Path + "/../../Publish/" + $service.Service
|
|
dotnet publish -c Release -o $publishPath --no-cache --no-restore
|
|
Copy-Item (Join-Path $service.Path "Dockerfile") -Destination $publishPath -Recurse
|
|
}
|
|
|
|
Set-Location $rootFolder
|