From 28d8cc7fccc2af809acbafc250a574324d564683 Mon Sep 17 00:00:00 2001 From: Alex Bezdieniezhnykh Date: Mon, 28 Apr 2025 18:38:35 +0300 Subject: [PATCH] check existsing in publish.cmd --- build/publish.cmd | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/build/publish.cmd b/build/publish.cmd index 3a9a91d..91bba47 100644 --- a/build/publish.cmd +++ b/build/publish.cmd @@ -23,7 +23,7 @@ move dist\Azaion.Dataset.dll dist\dummy\ echo Build Cython app cd Azaion.Inference echo remove dist folder: -rmdir dist /s /q +if exist dist rmdir dist /s /q echo install python and dependencies python -m venv venv @@ -74,8 +74,10 @@ cd.. echo Download onnx model cd build -echo Install cdn_manager -call build_cdn_manager +if not exist cdn_manager.exe ( + echo Install cdn_manager + call build_cdn_manager +) call cdn_manager.exe download models move models ..\dist\