Modular clean targets

This commit is contained in:
Valentin Samir 2015-12-18 11:35:18 +01:00
parent f0ecd653d3
commit d213a496a3

View file

@ -7,13 +7,17 @@ build:
install: install:
python setup.py install python setup.py install
clean: clean_pyc:
find ./ -name '*.pyc' -delete find ./ -name '*.pyc' -delete
find ./ -name __pycache__ -delete find ./ -name __pycache__ -delete
clean_build:
rm -rf build django_cas_server.egg-info dist rm -rf build django_cas_server.egg-info dist
clean_tox:
clean_all: clean rm -rf .tox
rm -rf test_venv .tox clean_test_venv:
rm -rf test_venv
clean: clean_pyc clean_build
clean_all: clean_pyc clean_build clean_tox clean_test_venv
dist: dist:
python setup.py sdist python setup.py sdist