]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - makefile
Test that vec() is a no-op on vectors.
[dunshire.git] / makefile
index ca681470d68f08f9f9ef2c62a27c7b503b4c69d7..e619d42b0c5ac2d09e3e62ce10f752df961d60de 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,3 +1,16 @@
+SRCDIR := src/dunshire
+
+.PHONY: check
+check:
+       python test/suite.py
+
+.PHONY: lint
+lint:
+       PYTHONPATH="$(SRCDIR)" pylint \
+               --reports=n \
+               --good-names='b,c,h,A,C,G,_K,_L' \
+               $(SRCDIR)/*.py
+
 .PHONY: clean
 clean:
-       rm -r __pycache__
+       rm -rf $(SRCDIR)/__pycache__