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

update Makefile

parent bdabf937
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
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