summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4252083..27a1377 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,8 @@
test: import-cldr
@py.test tests
+clean: clean-cldr clean-pyc
+
import-cldr:
@./scripts/download_import_cldr.py
@@ -8,10 +10,14 @@ 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
+.PHONY: test develop tox-test clean-pyc clean-cldr import-cldr clean