Skip to content

Commit

Permalink
ci: fix exist not exists
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed May 2, 2023
1 parent caf3009 commit 04ee670
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,10 @@ pre-commit: ## Run pre-commit

clean: ## Clean cached files
ifeq ($(OS),Windows_NT)
if exists .mypy_cache rmdir /s /q .mypy_cache
if exists .pytest_cache rmdir /s /q .pytest_cache
if exists src\gale_shapley\__pycache__ rmdir /s /q src\gale_shapley\__pycache__
if exists tests\__pycache__ rmdir /s /q tests\__pycache__
if exist .mypy_cache rmdir /s /q .mypy_cache
if exist .pytest_cache rmdir /s /q .pytest_cache
if exist src\gale_shapley\__pycache__ rmdir /s /q src\gale_shapley\__pycache__
if exist tests\__pycache__ rmdir /s /q tests\__pycache__
else
rm -rf .mypy_cache
rm -rf .pytest_cache
Expand Down

0 comments on commit 04ee670

Please sign in to comment.