From 02783c8290d71fdf754228222beceffb26281641 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 May 2014 11:10:05 -0400 Subject: tags workaround --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index fba684d9..1956e9dc 100644 --- a/Makefile +++ b/Makefile @@ -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: -- cgit v1.2.3 From 2e050607079393c3bdac789c0751a203a2a2faf9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 19 May 2014 16:52:06 -0400 Subject: sort tags --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 1956e9dc..2f339a89 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ clean: # 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 | perl -ne 'print; s/Propellor\.Property\.//; print' > 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' | sort > tags 2>/dev/null # Upload to hackage. hackage: -- cgit v1.2.3