mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 11:46:30 +00:00
22 lines
589 B
Batchfile
22 lines
589 B
Batchfile
pushd %~dp0..
|
|
|
|
echo Build .net app
|
|
dotnet build -c Release
|
|
|
|
cd Azaion.Suite
|
|
call postbuild.cmd Release
|
|
call upload-file %cd%\config.secured.json
|
|
call upload-file %cd%\config.system.json
|
|
|
|
dotnet publish -r win-x64 -p:SatelliteResourceLanguages="en" -p:DebugSymbols=false -p:ForPublish=true --self-contained true
|
|
cd ..
|
|
rmdir dist /s /q
|
|
xcopy Azaion.Suite\bin\Release\net8.0-windows\win-x64\publish dist\ /s /e /q
|
|
del dist\config.json
|
|
move dist\config.production.json dist\config.json
|
|
|
|
mkdir dist\dummy
|
|
move dist\Azaion.Annotator.dll dist\dummy\
|
|
move dist\Azaion.Dataset.dll dist\dummy\
|
|
|
|
popd |