Skip to content

Commit f2a461f

Browse files
committed
make: add "clean" target
1 parent 059e23a commit f2a461f

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: rtest build test
1+
.PHONY: rtest build test clean
22

33

44
build:
@@ -12,3 +12,10 @@ rtest:
1212

1313
env PYTHONPATH=. \
1414
~/dev/venvs/36-debug/bin/python -m test.regrtest -R3:3 --testdir tests/
15+
16+
clean:
17+
find . -name '*.pyc' | xargs rm
18+
find . -name '*.so' | xargs rm
19+
rm -rf ./build
20+
rm -rf ./dist
21+
rm -rf ./*.egg-info

0 commit comments

Comments
 (0)