projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
checking in no tests variable. will countermand in jenkins servers to actually build...
[feisty_meow.git]
/
scripts
/
buildor
/
search_code.sh
diff --git
a/scripts/buildor/search_code.sh
b/scripts/buildor/search_code.sh
index 411f8cad732142cff033a68490d465e4ddfc75a4..7e0b1cee94fe79b054e899cbef1d21f0dc1a59de 100644
(file)
--- a/
scripts/buildor/search_code.sh
+++ b/
scripts/buildor/search_code.sh
@@
-13,16
+13,28
@@
if [ -z "$dir" ]; then
dir=.
fi
dir=.
fi
+#hmmm: we need to encode this useful logic as a list of binary file endings.
find "$dir" -type f \( -iname "*" \
find "$dir" -type f \( -iname "*" \
+ ! -iname "*~" \
+ ! -iname "*.bin" \
+ ! -iname "*.bz2" \
! -iname "*.class" \
! -iname "*.dll" \
! -iname "*.class" \
! -iname "*.dll" \
+ ! -iname "*.deb" \
+ ! -iname "*.dmg" \
! -iname "*.exe" \
! -iname "entries" \
! -iname "*.git" \
! -iname "*.gz" \
! -iname "*.exe" \
! -iname "entries" \
! -iname "*.git" \
! -iname "*.gz" \
+ ! -iname "*.iar" \
! -iname "*.jar" \
! -iname "*.lib" \
! -iname "*.jar" \
! -iname "*.lib" \
+ ! -iname "*.oar" \
! -iname "*.obj" \
! -iname "*.obj" \
+ ! -iname "*.png" \
+ ! -iname "*.snarf" \
+ ! -iname "*.so" \
+ ! -iname "*.so.2" \
! -iname "*.svn" \
! -iname "*.svn-base" \
! -iname "*.tar" \
! -iname "*.svn" \
! -iname "*.svn-base" \
! -iname "*.tar" \