forked from python-babel/babel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
37 lines (26 loc) · 786 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
32
33
34
35
36
37
test: import-cldr
python ${PYTHON_TEST_FLAGS} -m pytest ${PYTEST_FLAGS}
test-env:
virtualenv test-env
test-env/bin/pip install pytest
test-env/bin/pip install --editable .
clean-test-env:
rm -rf test-env
standalone-test: import-cldr test-env
test-env/bin/pytest tests ${PYTEST_FLAGS}
clean: clean-cldr clean-pyc clean-test-env
import-cldr:
python scripts/download_import_cldr.py
clean-cldr:
rm -f babel/locale-data/*.dat
rm -f babel/global.dat
clean-pyc:
find . -name '*.pyc' -exec rm {} \;
find . -name '__pycache__' -type d | xargs rm -rf
develop:
pip install --editable .
tox-test: import-cldr
tox
release: import-cldr
python scripts/make-release.py
.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean release clean-test-env standalone-test