mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-14 05:34:48 +00:00
14 lines
528 B
Batchfile
14 lines
528 B
Batchfile
set ENETVER=11.5.1
|
|
echo "Start building Electron.NET dev stack..."
|
|
echo "Restore & Build API"
|
|
cd ElectronNet.API
|
|
dotnet restore
|
|
dotnet build --configuration Release --force /property:Version=%ENETVER%
|
|
dotnet pack /p:Version=%ENETVER% --configuration Release --force --output "%~dp0artifacts"
|
|
cd ..
|
|
echo "Restore & Build CLI"
|
|
cd ElectronNet.CLI
|
|
dotnet restore
|
|
dotnet build --configuration Release --force /property:Version=%ENETVER%
|
|
dotnet pack /p:Version=%ENETVER% --configuration Release --force --output "%~dp0artifacts"
|
|
cd .. |