Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

make coverage

  • Loading branch information...
commit 6cb64f3263cdb8a27c00981cc390c1969540a28f 1 parent 2b4e026
@dialelo authored
Showing with 6 additions and 1 deletion.
  1. +1 −0  .gitignore
  2. +5 −1 Makefile
View
1  .gitignore
@@ -11,3 +11,4 @@ build/
_build/
.ropeproject/
.tox
+cover/
View
6 Makefile
@@ -6,6 +6,7 @@ PIPI=pip install
PIPFLAGS=--ignore-installed --no-deps
TESTRUNNER=nosetests
+COVERTESTFLAGS=--with-coverage --cover-package=turses --cover-html
WATCHTESTFLAGS=--verbosity=0
@@ -25,13 +26,16 @@ clean: pyc
test: pyc
$(TESTRUNNER)
+coverage: pyc
+ $(TESTRUNNER) $(COVERTESTFLAGS)
+
pyc:
find . -name "*.pyc" -exec rm {} \;
watch:
tdaemon . $(TESTRUNNER) --custom-args="$(WATCHTESTFLAGS)"
-release: bump merge tag push publish
+release: test bump merge publish develop tag
bump:
$(EDITOR) HISTORY.rst turses/__init__.py
Please sign in to comment.
Something went wrong with that request. Please try again.