Makefile 368 Bytes
Newer Older
BO ZHANG's avatar
tweaks  
BO ZHANG committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
export PKG=csst_common

clean:
	rm -rf build dist $(PKG).egg-info
	rm -rf .coverage .pytest_cache

install: clean
	pip install .
	rm -rf build dist $(PKG).egg-info

uninstall:
	pip uninstall $(PKG) -y

test:
BO ZHANG's avatar
BO ZHANG committed
15
	coverage run -m  pytest . --cov=$(PKG) --import-mode=importlib --cov-report=html --cov-report=term-missing
BO ZHANG's avatar
tweaks  
BO ZHANG committed
16
17
	coverage report -m
	rm -rf .coverage .pytest_cache