aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2018-04-03 12:17:38 -0400
committerYury Selivanov <yury@magic.io>2018-04-03 12:17:38 -0400
commitf2a461f633d39d43e6f293ca8d5c8784d6a354c2 (patch)
treeb50eb8be05bbeb1f688e311a9b9e6cec23b1bcab
parent059e23ad69aee81c37b44f7c6d300b8a8a663045 (diff)
downloadimmutables-f2a461f633d39d43e6f293ca8d5c8784d6a354c2.tar.gz
immutables-f2a461f633d39d43e6f293ca8d5c8784d6a354c2.zip
make: add "clean" target
-rw-r--r--Makefile9
1 files changed, 8 insertions, 1 deletions
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