diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2012-12-17 12:01:45 +0100 |
commit | b80bd744ad873f6fc43018bc4bfb90677de167bd (patch) | |
tree | 072c4b0e33d442528555b82c415f5e7a1712b2b0 /script/notes | |
parent | 3e706c2025ecc5523e81ad649639ef2ff75e7bac (diff) |
Start of GS5.
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.*' + |