summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6bd85277e131d32c72c1eecf5f846e6d2391bea4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
test: import-cldr
	@py.test

clean: clean-cldr clean-pyc

import-cldr:
	@./scripts/download_import_cldr.py

clean-cldr:
	@rm babel/localedata/*.dat
	@rm babel/global.dat

clean-pyc:
	@find . -name '*.pyc' -exec rm {} \;

develop:
	@pip install --editable .

tox-test:
	@PYTHONDONTWRITEBYTECODE= tox
	@$(MAKE) clean-pyc

.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean