Add a 'check' production to integrate test machinery.
[super-star-trek.git] / Makefile
index e229363c95bfe1db2863497055c4cdcd54c30fa1..f85b3376950fcf6a5479cd84a83c0257f4d0ef3e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -29,12 +29,20 @@ sst-$(VERS).tar.gz: $(SOURCES) sst.6
 
 dist: sst-$(VERS).tar.gz
 
+check: #pylint
+       cd test; make --quiet
+
 pychecker:
-       @-pychecker --only --limit 50 sst.py
+       @-pychecker --quiet --only --limit 50 sst.py
+
+PYLINTOPTS = --rcfile=/dev/null --reports=n --include-ids=y --disable=C0103,C0111,C0301,C0302,C0321,R0902,R0903,R0911,R0912,R0914,R0915,W0312,W0603
+pylint:
+       @pylint --output-format=parseable $(PYLINTOPTS) sst.py
 
 clean:
        rm -f sst.6 sst.html
        rm -f *.6 MANIFEST index.html SHIPPER.*
 
 release: sst-$(VERS).tar.gz sst.html
-       shipper -u -m -t; make clean
+       shipper -u -t; make clean
+       cd www; upload