Commit 818d0a91 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

update Makefile

parent bdabf937
Pipeline #2599 failed with stage
export PKG=csst_common export PKG=csst_common
all: test install clean
clean: clean:
rm -rf build dist $(PKG).egg-info rm -rf build dist $(PKG).egg-info
rm -rf .coverage .pytest_cache rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log
install: clean install: clean
pip install . pip install .
...@@ -12,6 +14,6 @@ uninstall: ...@@ -12,6 +14,6 @@ uninstall:
pip uninstall $(PKG) -y pip uninstall $(PKG) -y
test: 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 coverage report -m
rm -rf .coverage .pytest_cache rm -rf .coverage .coverage.* .pytest_cache htmlcov *.log
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment