Skip to content

Commit 85df7b7

Browse files
committed
WIP: testing another codna env builder
1 parent 825ab09 commit 85df7b7

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmake/activate_conda.bat

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,15 +37,16 @@ call conda env list | findstr /C:"diff_check" >nul 2>nul
3737
if %ERRORLEVEL% neq 0 (
3838
echo diff_check environment not found, creating it now...
3939

40-
call conda env create -f environment.yml
41-
if %ERRORLEVEL% neq 0 (
40+
conda env create -f environment.yml && (
41+
echo Environment created successfully.
42+
) || (
4243
echo Failed to create diff_check environment, please check the environment.yml file.
4344
exit /b 1
4445
)
4546
) else (
4647
echo diff_check environment is available, updating it now...
4748

48-
call conda env update --name diff_check --file environment.yml --prune
49+
conda env update --name diff_check --file environment.yml --prune
4950
if %ERRORLEVEL% neq 0 (
5051
echo Failed to update diff_check environment, please check the environment.yml file.
5152
exit /b 1

0 commit comments

Comments
 (0)