summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorArmin Ronacher <armin.ronacher@active-4.com>2013-07-06 15:16:17 +0200
committerArmin Ronacher <armin.ronacher@active-4.com>2013-07-06 15:16:17 +0200
commitf0a04807cc3422e987f6700dfebe385047787157 (patch)
tree415ae9c7cbce7bb8d84cbb2c52b74b7ce9774229 /Makefile
parentcf115e60736c46437cdd58ba347d508eca854a89 (diff)
downloadbabel-f0a04807cc3422e987f6700dfebe385047787157.tar.gz
Add more clean commands and remove pycache from git
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