Skip to content

Commit 2afa617

Browse files
authored
chore: add breaks to cmds for readability (#1134)
1 parent 81f58d5 commit 2afa617

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

update_to_latest.cmd

+3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ for %%a in (%v_paths%) do (
2727

2828
IF "%v_conda_path%"=="" (
2929
echo anaconda3/miniconda3 not found. Install from here https://docs.conda.io/en/latest/miniconda.html
30+
pause
3031
exit /b 1
3132
)
3233

@@ -48,10 +49,12 @@ echo Previous environment.yaml hash: %v_last_hash%
4849
if "%v_last_hash%" == "%v_cur_hash%" (
4950
echo environment.yaml unchanged. dependencies should be up to date.
5051
echo if you still have unresolved dependencies, delete "z_version_env.tmp"
52+
if not defined AUTO pause
5153
) else (
5254
echo environment.yaml changed. updating dependencies
5355
call conda env create --name "%v_conda_env_name%" -f environment.yaml
5456
call conda env update --name "%v_conda_env_name%" -f environment.yaml
57+
if not defined AUTO pause
5558
)
5659

5760
::cmd /k

webui-streamlit.cmd

+2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ for %%a in (%v_paths%) do (
3838

3939
IF "%v_conda_path%"=="" (
4040
echo anaconda3/miniconda3 not found. Install from here https://docs.conda.io/en/latest/miniconda.html
41+
pause
4142
exit /b 1
4243
)
4344

4445
:CONDA_FOUND
4546

4647
if not exist "z_version_env.tmp" (
4748
:: first time running, we need to update
49+
set AUTO=1
4850
call "update_to_latest.cmd"
4951
)
5052

webui.cmd

+2
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ for %%a in (%v_paths%) do (
3838

3939
IF "%v_conda_path%"=="" (
4040
echo anaconda3/miniconda3 not found. Install from here https://docs.conda.io/en/latest/miniconda.html
41+
pause
4142
exit /b 1
4243
)
4344

4445
:CONDA_FOUND
4546

4647
if not exist "z_version_env.tmp" (
4748
:: first time running, we need to update
49+
set AUTO=1
4850
call "update_to_latest.cmd"
4951
)
5052

0 commit comments

Comments
 (0)