mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 16:16:31 +00:00
show created first
This commit is contained in:
+6
-22
@@ -1,30 +1,12 @@
|
||||
@echo off
|
||||
pushd %~dp0
|
||||
|
||||
cd %~dp0..
|
||||
echo Build .net app
|
||||
dotnet build -c Release
|
||||
call build_dotnet
|
||||
|
||||
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\
|
||||
|
||||
call Azaion.Inference\build.cmd
|
||||
cd %~dp0..
|
||||
call ..\Azaion.Inference\build.cmd
|
||||
|
||||
echo Download onnx model
|
||||
cd build
|
||||
cd %~dp0
|
||||
if not exist cdn_manager.exe (
|
||||
echo Install cdn_manager
|
||||
call build_cdn_manager
|
||||
@@ -60,3 +42,5 @@ copy C:\\share\gps-models\* %DESTINATION%\models
|
||||
|
||||
echo building installer...
|
||||
iscc build\installer.iss
|
||||
|
||||
popd
|
||||
Reference in New Issue
Block a user