From 989b2528d9984e41c4ca1ece73110e9becea4949 Mon Sep 17 00:00:00 2001 From: oedokumaci Date: Thu, 28 Sep 2023 14:21:16 +0300 Subject: [PATCH] fix: make clean in windows --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 421f526..6b1218c 100644 --- a/Makefile +++ b/Makefile @@ -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