diff options
author | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2015-02-15 03:29:47 -0500 |
---|---|---|
committer | Hamilton Kibbe <hamilton.kibbe@gmail.com> | 2015-02-15 03:29:47 -0500 |
commit | bfe14841604b6be403e7123e8b6667b1f0aff6f6 (patch) | |
tree | f33b8808412932c8606e63c9a11dcd4e60b919a9 /Makefile | |
parent | 5cf1fa74b42eb8feaab23078bef6f31f6d647c33 (diff) | |
download | gerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.tar.gz gerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.tar.bz2 gerbonara-bfe14841604b6be403e7123e8b6667b1f0aff6f6.zip |
Add cairo example code, and use example-generated image in readme
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
@@ -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 |