mirror of
https://github.com/xdtianyu/scripts.git
synced 2025-08-09 22:28:16 +08:00
add py
This commit is contained in:
23
py/clean.sh
Normal file
23
py/clean.sh
Normal file
@@ -0,0 +1,23 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ $(find -name \*.pyc|wc -l) != 0 ];then
|
||||
rm *.pyc
|
||||
fi
|
||||
|
||||
if [ -f ".auto" ];then
|
||||
rm .auto
|
||||
fi
|
||||
|
||||
if [ -d "dist" ];then
|
||||
rm -r dist
|
||||
fi
|
||||
|
||||
if [ -d "build" ];then
|
||||
rm -r build
|
||||
fi
|
||||
|
||||
if [ -f "server.spec" ];then
|
||||
rm server.spec
|
||||
fi
|
||||
|
||||
echo "DONE!"
|
Reference in New Issue
Block a user