From 9241b4b20f9b4bde883bcd46c2479409d20145e3 Mon Sep 17 00:00:00 2001 From: William Ting Date: Tue, 3 May 2016 23:10:57 -0700 Subject: [PATCH] Add make clean. --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5466f00..a9603be 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ VERSION = $(shell grep -oE "[0-9]+\.[0-9]+\.[0-9]+" bin/autojump) TAGNAME = release-v$(VERSION) -.PHONY: docs install uninstall lint tar test +.PHONY: clean docs install uninstall pre-commit lint tar test install: ./install.py @@ -45,3 +45,8 @@ test: pre-commit test-fast: pre-commit @find . -type f -iname '*.py[co]' -delete tox -e py27 + +clean: + @find . -type f -iname '*.py[co]' -delete + @find . -type d -iname '__pycache__' -delete + @rm -fr .tox