diff --git a/Makefile b/Makefile index 7e25110e71af27edf5433efddc9651c53961c3cb..9d1de91736e931d8cd9a6e5dfa65dc8744223824 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