diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..7de5b4a --- /dev/null +++ b/Makefile @@ -0,0 +1,27 @@ + +PYTHON ?= python +NOSETESTS ?= nosetests + +DOC_ROOT = doc + +clean: doc-clean + #$(PYTHON) setup.py clean + find . -name '*.pyc' -delete + rm -rf coverage .coverage + rm -rf *.egg-info + +test: + $(NOSETESTS) -s -v gerber + +test-coverage: + rm -rf coverage .coverage + $(NOSETESTS) -s -v --with-coverage --cover-package=gerber + +doc-html: + (cd $(DOC_ROOT); make html) + + +doc-clean: + (cd $(DOC_ROOT); make clean) + + |