forked from arrow-py/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
46 lines (34 loc) · 1.03 KB
/
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
.PHONY: auto build test docs clean
auto: build27
build27:
virtualenv local --python=python2.7
local/bin/pip install --use-mirrors -r requirements.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
build32:
virtualenv local --python=python3.2
local/bin/pip install --use-mirrors -r requirements.txt
build33:
virtualenv local --python=python3.3
local/bin/pip install --use-mirrors -r requirements.txt
build34:
virtualenv local --python=python3.4
local/bin/pip install --use-mirrors -r requirements.txt
buildpypy:
virtualenv local --python=pypy
local/bin/pip install --use-mirrors -r requirements.txt
buildpypy3:
virtualenv local --python=pypy3
local/bin/pip install --use-mirrors -r requirements.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