mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:46:31 +00:00
altered pushd / pulld commands in cmd
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
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:
|
||||
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" "..\dist-azaion" "azaion-inference.exe" /E /MOVE
|
||||
|
||||
popd
|
||||
cd /d %CURRENT_DIR%
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
echo Build .net app
|
||||
pushd %~dp0..
|
||||
set CURRENT_DIR=%cd%
|
||||
cd /d %~dp0..
|
||||
|
||||
dotnet build -c Release
|
||||
|
||||
@@ -24,4 +25,4 @@ robocopy "dist" "dist-dlls" /E /MOVE
|
||||
echo Copy ico
|
||||
copy logo.ico dist-azaion\
|
||||
|
||||
popd
|
||||
cd /d %CURRENT_DIR%
|
||||
@@ -1,5 +1,8 @@
|
||||
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 (
|
||||
echo Install cdn_manager
|
||||
@@ -8,4 +11,4 @@ if not exist cdn_manager.exe (
|
||||
call cdn_manager.exe download models
|
||||
move models ..\dist-dlls\
|
||||
|
||||
popd
|
||||
cd /d %CURRENT_DIR%
|
||||
|
||||
Reference in New Issue
Block a user