summaryrefslogtreecommitdiff
path: root/check
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-08-23 17:51:56 +0300
committerLars Wirzenius <liw@liw.fi>2017-08-23 17:51:56 +0300
commit754869de8a67bf2d3a4318d5896e60de52037765 (patch)
treec3a605b6b11bce3023bfecefb8fcc764930d4063 /check
parent7e2c65c53113115e2559310260a38b0e2141f87c (diff)
downloadttystatus-754869de8a67bf2d3a4318d5896e60de52037765.tar.gz
Add: script ./check to replace "make check"
Also, drop Makefile, which is now useless.
Diffstat (limited to 'check')
-rwxr-xr-xcheck8
1 files changed, 8 insertions, 0 deletions
diff --git a/check b/check
new file mode 100755
index 0000000..819058f
--- /dev/null
+++ b/check
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -eu
+
+python -m CoverageTestRunner --ignore-missing-from=without-tests
+rm -f .coverage
+pep8 ttystatus
+PYTHONPATH=. pylint --rcfile=pylint.conf ttystatus