update clean recipe
This commit is contained in:
parent
e87a386ddf
commit
2fe25c4fc7
1 changed files with 13 additions and 1 deletions
14
justfile
14
justfile
|
@ -1,2 +1,14 @@
|
||||||
clean:
|
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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue