tags workaround

This commit is contained in:
Joey Hess 2014-05-19 11:10:05 -04:00
parent 533ac36412
commit 02783c8290
1 changed files with 3 additions and 1 deletions

View File

@ -30,8 +30,10 @@ clean:
find -name \*.hi -exec rm {} \;
# hothasktags chokes on some template haskell etc, so ignore errors
# duplicate tags with Propellor.Property. removed from the start, as we
# often import qualified by just the module base name.
tags:
find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags > tags 2>/dev/null
find . | grep -v /.git/ | grep -v /tmp/ | grep -v /dist/ | grep -v /doc/ | egrep '\.hs$$' | xargs hothasktags | perl -ne 'print; s/Propellor\.Property\.//; print' > tags 2>/dev/null
# Upload to hackage.
hackage: