diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..851863a --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ +.PHONY: \ + test \ + lint \ + docs \ + release \ + clean + +all: lint test + +test: + pytest \ + --cov=gron \ + --cov-branch \ + --cov-report=term-missing + +lint: + flake8 gron + +#docs: +# $(MAKE) -C docs html + +release: + python3 setup.py sdist bdist_wheel upload + +clean: + find . -type f -name *.pyc -delete + find . -type d -name __pycache__ -delete diff --git a/sg/sg.py b/sg/sg.py old mode 100755 new mode 100644