Browse Source

Merge pull request #307 from SychevIgor/SychevIgor/DotnetRestoreRemove

dotnet restore not needed in cli 2.0
pull/333/head
Eduard Tomàs 7 years ago
committed by GitHub
parent
commit
0f1d904459
4 changed files with 0 additions and 6 deletions
  1. +0
    -2
      cli-mac/build-bits.sh
  2. +0
    -2
      cli-windows/build-bits-simple.ps1
  3. +0
    -1
      cli-windows/build-bits.ps1
  4. +0
    -1
      k8s/deploy.ps1

+ 0
- 2
cli-mac/build-bits.sh View File

@ -22,8 +22,6 @@ do
echo -e "\e[33m\tRemoving old publish output"
pushd $(pwd)/$project
rm -rf obj/Docker/publish
echo -e "\e[33m\tRestoring project"
dotnet restore
echo -e "\e[33m\tBuilding and publishing projects"
dotnet publish -o obj/Docker/publish -c Release
popd


+ 0
- 2
cli-windows/build-bits-simple.ps1 View File

@ -13,7 +13,5 @@ Write-Host "Root path used is $rootPath" -ForegroundColor Yellow
$SolutionFilePath = [IO.Path]::Combine($rootPath, "eShopOnContainers-ServicesAndWebApps.sln")
dotnet restore $SolutionFilePath
dotnet publish $SolutionFilePath -c Release -o .\obj\Docker\publish

+ 0
- 1
cli-windows/build-bits.ps1 View File

@ -31,7 +31,6 @@ $projectPaths =
#Write-Host "Deleting old publish files in $outPath" -ForegroundColor Yellow
remove-item -path $outPath -Force -Recurse -ErrorAction SilentlyContinue
#Write-Host "Publishing $projectPathAndFile to $outPath" -ForegroundColor Yellow
dotnet build $projectPathAndFile
dotnet publish $projectPathAndFile -o $outPath -c Release
}
}


+ 0
- 1
k8s/deploy.ps1 View File

@ -54,7 +54,6 @@ Write-Host "Docker image Tag: $imageTag" -ForegroundColor Yellow
# building and publishing docker images if needed
if($buildBits) {
Write-Host "Building and publishing eShopOnContainers..." -ForegroundColor Yellow
dotnet restore ../eShopOnContainers-ServicesAndWebApps.sln
dotnet publish -c Release -o obj/Docker/publish ../eShopOnContainers-ServicesAndWebApps.sln
}
if ($buildImages) {


Loading…
Cancel
Save