From bfe14841604b6be403e7123e8b6667b1f0aff6f6 Mon Sep 17 00:00:00 2001 From: Hamilton Kibbe Date: Sun, 15 Feb 2015 03:29:47 -0500 Subject: Add cairo example code, and use example-generated image in readme --- Makefile | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 7de5b4a..8d3fd33 100644 --- a/Makefile +++ b/Makefile @@ -3,25 +3,32 @@ 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 -- cgit From 6f876edd09d9b81649691e529f85653f14b8fd1c Mon Sep 17 00:00:00 2001 From: Hamilton Kibbe Date: Tue, 22 Dec 2015 02:45:48 -0500 Subject: Add PCB interface this incorporates some of @chintal's layers.py changes PCB.from_directory() simplifies loading of multiple gerbers the PCB() class should be pretty helpful going forward... the context classes could use some cleaning up, although I'd like to wait until the freecad stuff gets merged, that way we can try to refactor the context base to support more use cases --- Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 8d3fd33..87f0124 100644 --- a/Makefile +++ b/Makefile @@ -31,4 +31,5 @@ doc-clean: .PHONY: examples examples: PYTHONPATH=. $(PYTHON) examples/cairo_example.py + PYTHONPATH=. $(PYTHON) examples/pcb_example.py -- cgit