update clean recipe

This commit is contained in:
Daniel Fichtinger 2025-06-21 14:24:36 -04:00
parent e87a386ddf
commit 2fe25c4fc7

View file

@ -1,2 +1,14 @@
clean:
rm -r dist/ __pycache__/
#!/bin/sh
if [ ! -d "dist" ] && [ ! -d "__pycache__" ]; then
echo "Nothing to clean."
exit 0
fi
if [ -d "dist" ]; then
echo "Removing dist/"
rm -r dist/
fi
if [ -d "__pycache__" ]; then
echo "Removing __pycache__/"
rm -r "__pycache__"
fi