From 48524332cd8f319b9b6a7a9781fbab16b3c16c4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ramiro=20G=C3=B3mez?= Date: Sun, 3 May 2015 22:31:34 +0200 Subject: [PATCH] Added clean-starter-site task --- Makefile | 8 ++++++-- dev_requirements.txt | 1 + 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 4b93e33..7706091 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ help: @echo "clean - remove all build, test, coverage and Python artifacts" @echo "clean-build - remove build artifacts" @echo "clean-pyc - remove Python file artifacts" + @echo "clean-starter-site - remove deploy directory from starter site" @echo "clean-test - remove test and coverage artifacts" @echo "lint - check style with flake8" @echo "test - run tests quickly with the default Python" @@ -14,7 +15,7 @@ help: @echo "release - package and upload a release" @echo "dist - package" -clean: clean-build clean-pyc clean-test +clean: clean-build clean-pyc clean-starter-site clean-test clean-build: rm -fr build/ @@ -27,12 +28,15 @@ clean-pyc: find . -name '*~' -exec rm -f {} + find . -name '__pycache__' -exec rm -fr {} + +clean-starter-site: + rm -fr logya/sites/starter/deploy/ + clean-test: rm -fr .tox/ rm -f .coverage rm -fr htmlcov/ -install: +install: clean python setup.py install uninstall: diff --git a/dev_requirements.txt b/dev_requirements.txt index b75ace6..a2cc43e 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -9,3 +9,4 @@ pep8==1.6.2 flake8==2.4.0 pyflakes==0.8.1 nose==1.3.6 +tox==1.9.2