Skip to content

Commit

Permalink
fixing haddock script
Browse files Browse the repository at this point in the history
  • Loading branch information
noinia committed Jan 7, 2024
1 parent 6869b4e commit 8d2e2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion haddock.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/sh

cabal haddock all > haddock.raw.txt
cabal haddock-project > haddock.raw.txt
grep ") in " haddock.raw.txt | sort -hr > haddock.txt
COVERAGE=$(awk '{good += $3; total += $5} END {printf "%.0f", good/total*100}' haddock.txt)
echo "\
Expand Down

0 comments on commit 8d2e2af

Please sign in to comment.