Skip to content

Commit

Permalink
added cleanup script for the repository
Browse files Browse the repository at this point in the history
  • Loading branch information
BinyaminSharet committed Oct 26, 2016
1 parent cf8670c commit 03e0766
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions cleanup.sh
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

0 comments on commit 03e0766

Please sign in to comment.