Skip to content

Commit

Permalink
Adding a script clean.sh to quickly strip the repo of python build/cache
Browse files Browse the repository at this point in the history
files
  • Loading branch information
julesghub committed Jun 6, 2024
1 parent 61c5ec9 commit b7800c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions clean.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash -x

rm -fr build
find . -name \*.so -exec rm {} +
find . -name __pycache__ -exec rm -r {} +
find -name '*.egg-info' -exec rm -r {} +
rm -rf .pytest_cache
#git clean -dfX

0 comments on commit b7800c2

Please sign in to comment.