altered pushd / pulld commands in cmd

This commit is contained in:
dzaitsev
2025-05-07 16:47:26 +03:00
parent 22f047bbe5
commit 8bf9d1d7e2
3 changed files with 13 additions and 6 deletions
+5 -2
View File
@@ -1,5 +1,8 @@
echo Build Cython app echo Build Cython app
pushd %~dp0 set CURRENT_DIR=%cd%
REM Change to the parent directory of the current location
cd /d %~dp0..
echo remove dist folder: echo remove dist folder:
if exist dist rmdir dist /s /q if exist dist rmdir dist /s /q
@@ -60,4 +63,4 @@ robocopy "dist\azaion-inference\_internal" "..\dist-azaion\_internal" "security.
robocopy "dist\azaion-inference\_internal" "..\dist-dlls\_internal" /E /MOVE robocopy "dist\azaion-inference\_internal" "..\dist-dlls\_internal" /E /MOVE
robocopy "dist\azaion-inference" "..\dist-azaion" "azaion-inference.exe" /E /MOVE robocopy "dist\azaion-inference" "..\dist-azaion" "azaion-inference.exe" /E /MOVE
popd cd /d %CURRENT_DIR%
+3 -2
View File
@@ -1,5 +1,6 @@
echo Build .net app echo Build .net app
pushd %~dp0.. set CURRENT_DIR=%cd%
cd /d %~dp0..
dotnet build -c Release dotnet build -c Release
@@ -24,4 +25,4 @@ robocopy "dist" "dist-dlls" /E /MOVE
echo Copy ico echo Copy ico
copy logo.ico dist-azaion\ copy logo.ico dist-azaion\
popd cd /d %CURRENT_DIR%
+5 -2
View File
@@ -1,5 +1,8 @@
echo Download onnx model echo Download onnx model
pushd %~dp0 set CURRENT_DIR=%cd%
REM Change to the parent directory of the current location
cd /d %~dp0..
if not exist cdn_manager.exe ( if not exist cdn_manager.exe (
echo Install cdn_manager echo Install cdn_manager
@@ -8,4 +11,4 @@ if not exist cdn_manager.exe (
call cdn_manager.exe download models call cdn_manager.exe download models
move models ..\dist-dlls\ move models ..\dist-dlls\
popd cd /d %CURRENT_DIR%