Skip to content

Commit

Permalink
fix: make clean in windows
Browse files Browse the repository at this point in the history
  • Loading branch information
oedokumaci committed Sep 28, 2023
1 parent b0027c8 commit 989b252
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ pre-commit: ## Run pre-commit

clean: ## Clean cached files
ifeq ($(OS),Windows_NT)
del /q logs\pytest_test.log || true
rmdir /s /q .mypy_cache || true
rmdir /s /q .pytest_cache || true
rmdir /s /q src\template_python\__pycache__ || true
rmdir /s /q tests\__pycache__ || true
del /q logs\pytest_test.log || :
rmdir /s /q .mypy_cache || :
rmdir /s /q .pytest_cache || :
rmdir /s /q src\template_python\__pycache__ || :
rmdir /s /q tests\__pycache__ || :
else
rm -f logs/pytest_test.log
rm -rf .mypy_cache
Expand Down

0 comments on commit 989b252

Please sign in to comment.