diff options
Diffstat (limited to 'script/notes')
-rwxr-xr-x | script/notes | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/script/notes b/script/notes new file mode 100755 index 0000000..1285884 --- /dev/null +++ b/script/notes @@ -0,0 +1,25 @@ +#! /bin/sh + +# `rake notes` doesn't find everything and is too slow. + +#find . -type f \ +# | grep -vEe '/(\.git|\.DS_Store|\.idea/|\.project|doc/app/|script/notes|log/|debian/visual-inspection/|public/javascripts/controls\.js)' \ +# | xargs grep --color -IEe '# *(FIXME|TODO|OPTIMIZE)' +#exit 0 + +find . -not \( \ + -name '.svn' -prune -o \ + -name '.git' -prune -o \ + -name '.DS_Store' -prune -o \ + -name '.idea' -prune -o \ + -name '.project' -prune -o \ + -path '*/script/notes' -prune -o \ + -path '*/doc/app/*' -prune -o \ + -path '*/doc/html-onefile/*.html' -prune -o \ + -path '*/doc/docbook-xsl-*' -prune -o \ + -path '*/public/javascripts/controls.js' -prune -o \ + -path '*/log/*.log' -prune -o \ + -false \ + \) -type f -print0 \ + | xargs -0 grep --color -IEe '#[^#]*(FIXME|TODO|OPTIMIZE)\b.*' + |