X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=makefile;h=e619d42b0c5ac2d09e3e62ce10f752df961d60de;hb=6ade9facc2e181f7aab20508007709f3bde7ca4b;hp=ca681470d68f08f9f9ef2c62a27c7b503b4c69d7;hpb=6c7297a16a2d46d429bf598ec8803db6d5d8942d;p=dunshire.git diff --git a/makefile b/makefile index ca68147..e619d42 100644 --- 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__