-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 675 Bytes
/
Makefile
File metadata and controls
34 lines (25 loc) · 675 Bytes
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
29
30
31
32
33
34
.PHONY: all install-dev test test-all tox docs audit clean-pyc docs-upload wheel
install-dev:
pip install -q -e .[dev]
test: clean-pyc install-dev
pytest
test-all: clean-pyc install-dev
tox
tox: test-all
wheel:
python setup.py sdist bdist_wheel
BUILDDIR = _build
docs: install-dev
$(MAKE) -C docs html BUILDDIR=$(BUILDDIR)
check:
python setup.py check -r -s
clean-pyc:
@find . -name '*.pyc' -exec rm -f {} +
@find . -name '*.pyo' -exec rm -f {} +
@find . -name '*~' -exec rm -f {} +
# Only useful on Nicola's own machine :-)
docs-upload: BUILDDIR = ~/code/eve.docs
docs-upload: docs
cd $(BUILDDIR)/html && \
git commit -am "rebuild docs" && \
git push