Commit 4065e60b authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Updated makefile.

parent 4835f571
Pipeline #579 failed with stages
in 31 seconds
......@@ -43,6 +43,7 @@ clean-pyc: ## remove Python file artifacts
find . -name '__pycache__' -exec rm -fr {} +
clean-test: ## remove test and coverage artifacts
coverage erase
rm -fr .tox/
rm -f .coverage
rm -fr htmlcov/
......@@ -51,19 +52,16 @@ lint: ## check style with flake8
flake8 geoarray tests
test: ## run tests quickly with the default Python
python setup.py test
python setup.py test
test-all: ## run tests on every Python version with tox
tox
coverage: ## check code coverage quickly with the default Python
coverage run --source geoarray setup.py test
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html
coverage: clean-test ## check code coverage quickly with the default Python
coverage run --source geoarray setup.py test
coverage report -m
coverage html
# $(BROWSER) htmlcov/index.html
docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/geoarray.rst
......@@ -73,7 +71,7 @@ docs: ## generate Sphinx HTML documentation, including API docs
$(MAKE) -C docs html
# $(MAKE) -C docs latex
# $(MAKE) -C docs latexpdf
$(BROWSER) docs/_build/html/index.html
# $(BROWSER) docs/_build/html/index.html
servedocs: docs ## compile the docs watching for changes
watchmedo shell-command -p '*.rst' -c '$(MAKE) -C docs html' -R -D .
......
Markdown is supported
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