From f2a461f633d39d43e6f293ca8d5c8784d6a354c2 Mon Sep 17 00:00:00 2001 From: Yury Selivanov Date: Tue, 3 Apr 2018 12:17:38 -0400 Subject: make: add "clean" target --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f698d35..a625f5c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: rtest build test +.PHONY: rtest build test clean build: @@ -12,3 +12,10 @@ rtest: env PYTHONPATH=. \ ~/dev/venvs/36-debug/bin/python -m test.regrtest -R3:3 --testdir tests/ + +clean: + find . -name '*.pyc' | xargs rm + find . -name '*.so' | xargs rm + rm -rf ./build + rm -rf ./dist + rm -rf ./*.egg-info -- cgit v1.2.3