Skip to content

Commit 68ec546

Browse files
committed
Added WebStatus to cli build scripts.
Removed old script build for windows.
1 parent 80bac99 commit 68ec546

4 files changed

Lines changed: 5 additions & 162 deletions

File tree

cli-linux/build-bits-linux.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ projectList=(
66
"/src/Services/Identity/Identity.API"
77
"/src/Web/WebMVC"
88
"/src/Web/WebSPA"
9+
"/src/Web/WebStatus
910
)
1011
1112
# Build SPA app
@@ -36,4 +37,4 @@ done
3637
#fi
3738
3839
# No need to build the images, docker build or docker compose will
39-
# do that using the images and containers defined in the docker-compose.yml file.
40+
# do that using the images and containers defined in the docker-compose.yml file.

cli-mac/build-bits.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ projectList=(
77
"../src/Services/Identity/Identity.API"
88
"../src/Web/WebMVC"
99
"../src/Web/WebSPA"
10+
"../src/Web/WebStatus"
1011
)
1112

1213
for project in "${projectList[@]}"

cli-windows/build-bits-expanded.ps1

Lines changed: 0 additions & 160 deletions
This file was deleted.

cli-windows/build-bits.ps1

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ $projectPaths =
1515
@{Path="$rootPath\src\Services\Catalog\Catalog.API";Prj="Catalog.API.csproj"},
1616
@{Path="$rootPath\src\Services\Ordering\Ordering.API";Prj="Ordering.API.csproj"},
1717
@{Path="$rootPath\src\Services\Basket\Basket.API";Prj="Basket.API.csproj"}
18+
@{Path="$rootPath\src\Web\WebStatus";Prj="WebStatus.csproj"}
1819

1920
$projectPaths | foreach {
2021
$projectPath = $_.Path
2122
$projectFile = $_.Prj
2223
$outPath = $_.Path + "\obj\Docker\publish"
2324
$projectPathAndFile = "$projectPath\$projectFile"
24-
Write-Host "Deleting $outPath" -ForegroundColor Yellow
25+
Write-Host "Deleting old publish files in $outPath" -ForegroundColor Yellow
2526
remove-item -path $outPath -Force -Recurse -ErrorAction SilentlyContinue
2627
Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
2728
dotnet restore $projectPathAndFile

0 commit comments

Comments
 (0)