forked from arrow-py/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
32 lines (24 loc) · 760 Bytes
/
Makefile
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
.PHONY: auto build test docs clean
auto: build27
build27:
virtualenv local --python=python2.7
local/bin/pip install --use-mirrors -r requirements.txt
local/bin/pip install --use-mirrors -r requirements27.txt
build26:
virtualenv local --python=python2.6
local/bin/pip install --use-mirrors -r requirements.txt
local/bin/pip install --use-mirrors -r requirements26.txt
build33:
virtualenv local --python=python3.3
local/bin/pip install --use-mirrors -r requirements.txt
local/bin/pip install --use-mirrors -r requirements33.txt
test:
rm -f .coverage
. local/bin/activate && nosetests --all-modules --with-coverage arrow tests
docs:
touch docs/index.rst
cd docs; make html
clean:
rm -rf local
rm -f arrow/*.pyc tests/*.pyc
rm -f .coverage