1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
PYTHON = python3
.PHONY: all
all:
@echo "Nothing to build here"
.PHONY: test
test: ##: run tests
tox -p auto
.PHONY:
coverage: ##: measure test coverage
tox -e coverage
# XXX: this was meant for uploading to pypi, but pypi deprecated static
# file hosting and I should switch to ReadTheDocs.org
.PHONY: docs
docs: ##: (obsolete) build docs.zip
rm -rf build/docs
mkdir -p build/docs
@$(PYTHON) setup.py --long-description | rst2html --exit-status=2 > build/docs/index.html
cp example*.png build/docs/
cd build/docs && zip ../docs.zip *
FILE_WITH_VERSION = imgdiff.py
include release.mk
|