Skip to content
Snippets Groups Projects
Makefile 644 B
Newer Older
PKGNAME=km3buu
ALLNAMES = $(PKGNAME)

all: install

	pip install setuptools_scm
	pip install .

install-dev:
	pip install setuptools_scm
	pip install -e ".[dev]"
Johannes Schumann's avatar
Johannes Schumann committed
	pip install -e ".[extras]"	
	python -m pytest --junitxml=./reports/junit.xml -o junit_suite_name=$(PKGNAME) $(PKGNAME)
	python -m pytest --cov ./ --cov-report term-missing --cov-report xml:reports/coverage.xml --cov-report html:reports/coverage $(ALLNAMES)
	python -m pytest --flake8
	python -m pytest --pydocstyle
Johannes Schumann's avatar
Johannes Schumann committed
doc:
	cd doc && make html
	cd ..
.PHONY: install install-dev doc clean test test-cov flake8 docstyle