Skip to content

Commit

Permalink
Fix indentation of coverage target in Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
Eugene M. Kim committed Jun 8, 2017
1 parent d737f1f commit b2d6b62
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions {{cookiecutter.project_slug}}/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,14 @@ test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
{% if cookiecutter.use_pytest == 'y' -%}
coverage run --source {{ cookiecutter.project_slug }} -m pytest
{% else %}
coverage run --source {{ cookiecutter.project_slug }} setup.py test
{% endif %}
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html
{% if cookiecutter.use_pytest == 'y' -%}
coverage run --source {{ cookiecutter.project_slug }} -m pytest
{% else %}
coverage run --source {{ cookiecutter.project_slug }} setup.py test
{% endif %}
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/{{ cookiecutter.project_slug }}.rst
Expand Down

0 comments on commit b2d6b62

Please sign in to comment.