Skip to content

Commit

Permalink
cleaner
Browse files Browse the repository at this point in the history
  • Loading branch information
jaimergp committed Nov 14, 2024
1 parent e76d817 commit 9900ea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .scripts/run_win_build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ if "%MINIFORGE_HOME%"=="" set "MINIFORGE_HOME=%USERPROFILE%\Miniforge3"
if "%MINIFORGE_HOME:~-1%"=="\" set "MINIFORGE_HOME=%MINIFORGE_HOME:~0,-1%"

if exist "%MINIFORGE_HOME%\conda-meta\history" (
echo "Build tools already installed at %MINIFORGE_HOME%."
echo Build tools already installed at %MINIFORGE_HOME%.
) else (
where micromamba.exe >nul 2>nul
if !errorlevel! == 0 (
Expand All @@ -42,7 +42,7 @@ if exist "%MINIFORGE_HOME%\conda-meta\history" (
--file environment.yaml
if !errorlevel! neq 0 exit /b !errorlevel!
echo Moving pkgs cache from !MAMBA_ROOT_PREFIX! to !MINIFORGE_HOME!
move /Y "!MAMBA_ROOT_PREFIX!\pkgs" "!MINIFORGE_HOME!"
move /Y "!MAMBA_ROOT_PREFIX!\pkgs" "!MINIFORGE_HOME!" >nul
if !errorlevel! neq 0 exit /b !errorlevel!
echo Removing !MAMBA_ROOT_PREFIX!
del /S /Q "!MAMBA_ROOT_PREFIX!" >nul
Expand Down
2 changes: 1 addition & 1 deletion build-locally.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def run_osx_build(ns):

def run_win_build(ns):
script = ".scripts/run_win_build.bat"
subprocess.check_call(["cmd", "/D", "/C", f"CALL {script}"])
subprocess.check_call(["cmd", "/D", "/Q", "/C", f"CALL {script}"])


def verify_config(ns):
Expand Down

0 comments on commit 9900ea3

Please sign in to comment.