forked from circus-tent/circus-web
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
32 lines (22 loc) · 674 Bytes
/
Copy pathMakefile
File metadata and controls
32 lines (22 loc) · 674 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
.PHONY: docs build test coverage build_rpm clean
ifndef VTENV_OPTS
VTENV_OPTS = "--no-site-packages"
endif
bin/python:
virtualenv $(VTENV_OPTS) .
bin/python setup.py develop
build: bin/python
bin/python setup.py develop
test: bin/python
bin/pip install tox
bin/tox
docs: bin/coverage
bin/pip install sphinx
SPHINXBUILD=../bin/sphinx-build $(MAKE) -C docs html $^
coverage: bin/coverage
bin/nosetests --with-coverage --cover-html --cover-html-dir=html --cover-package=circusweb
bin/coverage: bin/python
bin/pip install -r test-requirements.txt --use-mirrors
bin/pip install nose coverage
clean:
rm -rf bin .tox include/ lib/ man/ circus.egg-info/ build/