-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added cleanup script for the repository
- Loading branch information
1 parent
cf8670c
commit 03e0766
Showing
1 changed file
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/sh | ||
# | ||
# This script is used for development only! | ||
# it will cleanup the katnip repository and nothing else | ||
# | ||
ROOTDIR=`dirname $0` | ||
echo 'Deleting pyc files' | ||
echo find $ROOTDIR -iname '*.pyc' -delete | ||
find $ROOTDIR -iname '*.pyc' -delete | ||
echo 'Deleting kitty logs' | ||
echo find $ROOTDIR -path "*/kittylogs/*" -delete | ||
find $ROOTDIR -path "*/kittylogs/*" -delete | ||
echo find $ROOTDIR -type d -name kittylogs -delete | ||
find $ROOTDIR -type d -name kittylogs -delete |