53 lines
1.3 KiB
Batchfile
53 lines
1.3 KiB
Batchfile
@echo off
|
|
set Configuration=Release
|
|
|
|
cd "%~dp0"
|
|
powershell write-host -fore Blue Restoring solution
|
|
|
|
rmdir /S /Q artifacts
|
|
mkdir artifacts
|
|
|
|
dotnet restore -v q
|
|
:: dotnet tool restore -v q
|
|
|
|
cd "%~dp0"
|
|
cd "AMWD.Common"
|
|
powershell write-host -fore Blue Building AMWD.Common
|
|
|
|
rmdir /S /Q bin
|
|
dotnet build -c %Configuration% --nologo --no-incremental
|
|
move bin\%Configuration%\*.nupkg ..\artifacts
|
|
move bin\%Configuration%\*.snupkg ..\artifacts
|
|
|
|
|
|
|
|
cd "%~dp0"
|
|
cd "AMWD.Common.AspNetCore"
|
|
powershell write-host -fore Blue Building AMWD.Common.AspNetCore
|
|
|
|
rmdir /S /Q bin
|
|
dotnet build -c %Configuration% --nologo --no-incremental
|
|
move bin\%Configuration%\*.nupkg ..\artifacts
|
|
move bin\%Configuration%\*.snupkg ..\artifacts
|
|
|
|
|
|
|
|
cd "%~dp0"
|
|
cd "AMWD.Common.EntityFrameworkCore"
|
|
powershell write-host -fore Blue Building AMWD.Common.EntityFrameworkCore
|
|
|
|
rmdir /S /Q bin
|
|
dotnet build -c %Configuration% --nologo --no-incremental
|
|
move bin\%Configuration%\*.nupkg ..\artifacts
|
|
move bin\%Configuration%\*.snupkg ..\artifacts
|
|
|
|
|
|
|
|
cd "%~dp0"
|
|
cd "AMWD.Common.Moq"
|
|
powershell write-host -fore Blue Building AMWD.Common.Moq
|
|
|
|
rmdir /S /Q bin
|
|
dotnet build -c %Configuration% --nologo --no-incremental
|
|
move bin\%Configuration%\*.nupkg ..\artifacts
|
|
move bin\%Configuration%\*.snupkg ..\artifacts |