ccc: ignore ./build/, ./deploy/, and .svn files
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 24 May 2010 23:05:41 +0000 (16:05 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Mon, 24 May 2010 23:05:41 +0000 (16:05 -0700)
ccc

diff --git a/ccc b/ccc
index d15fcf6..7fe9174 100755 (executable)
--- a/ccc
+++ b/ccc
@@ -10,7 +10,11 @@ find -noleaf \
 -name '*.java' -o \
 -name '*.h' -o \
 -name '*.cpp' -o \
+-name '*.hpp' -o \
 -name '*.c++' \
+| grep -v ./build/ \
+| grep -v ./deploy/ \
+| grep -v .svn \
 > cscope.files || die "find command failed"
 
 cscope -icscope.files