summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2016-11-05 21:11:09 -0400
committerGitHub <noreply@github.com>2016-11-05 21:11:09 -0400
commitd2fe4441662435e55f2dc481bf94a2729b9d6a48 (patch)
treedd60a0b21e1d1ca7258b9f978ce973354d96062c /Makefile
parent318a81382e074a5897489299a58e029815d23492 (diff)
parent5af19af190c1fb0f0c5be029d46d63e657dde4d9 (diff)
downloadgerbonara-d2fe4441662435e55f2dc481bf94a2729b9d6a48.tar.gz
gerbonara-d2fe4441662435e55f2dc481bf94a2729b9d6a48.tar.bz2
gerbonara-d2fe4441662435e55f2dc481bf94a2729b9d6a48.zip
Merge pull request #3 from garretfick/merge-curtacircuitos
Merge curtacircuitos
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 7de5b4a..87f0124 100644
--- a/Makefile
+++ b/Makefile
@@ -3,25 +3,33 @@ PYTHON ?= python
NOSETESTS ?= nosetests
DOC_ROOT = doc
+EXAMPLES = examples
+.PHONY: clean
clean: doc-clean
- #$(PYTHON) setup.py clean
find . -name '*.pyc' -delete
rm -rf coverage .coverage
rm -rf *.egg-info
+.PHONY: test
test:
$(NOSETESTS) -s -v gerber
-
+
+.PHONY: test-coverage
test-coverage:
rm -rf coverage .coverage
$(NOSETESTS) -s -v --with-coverage --cover-package=gerber
-
+
+.PHONY: doc-html
doc-html:
(cd $(DOC_ROOT); make html)
-
+.PHONY: doc-clean
doc-clean:
(cd $(DOC_ROOT); make clean)
-
+
+.PHONY: examples
+examples:
+ PYTHONPATH=. $(PYTHON) examples/cairo_example.py
+ PYTHONPATH=. $(PYTHON) examples/pcb_example.py