From: Armin Ronacher Date: Sat, 6 Jul 2013 13:16:17 +0000 (+0200) Subject: Add more clean commands and remove pycache from git X-Git-Tag: 1.0~98 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f0a04807cc3422e987f6700dfebe385047787157;p=thirdparty%2Fbabel.git Add more clean commands and remove pycache from git --- diff --git a/.gitignore b/.gitignore index 1260afdf..af3746cf 100644 --- a/.gitignore +++ b/.gitignore @@ -8,6 +8,7 @@ build dist .DS_Store .tox +**/__pycache__ babel/global.dat tests/messages/data/project/i18n/long_messages.pot tests/messages/data/project/i18n/temp.pot diff --git a/Makefile b/Makefile index 42520834..27a1377e 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