From 818d0a91b38649335d8be7201a03d74ce4908529 Mon Sep 17 00:00:00 2001 From: BO ZHANG Date: Wed, 20 Dec 2023 13:55:24 +0800 Subject: [PATCH] update Makefile --- Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 7e25110..9d1de91 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,10 @@ export PKG=csst_common +all: test install clean + clean: rm -rf build dist $(PKG).egg-info - rm -rf .coverage .pytest_cache + rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log install: clean pip install . @@ -12,6 +14,6 @@ uninstall: pip uninstall $(PKG) -y test: - coverage run -m pytest . --cov=$(PKG) --import-mode=importlib --cov-report=html --cov-report=term-missing + coverage run -m pytest . --cov=$(PKG) --import-mode=importlib --cov-report=term-missing coverage report -m - rm -rf .coverage .pytest_cache + rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log -- GitLab