<commit_before>#!/usr/bin/env sh

ghc --make -fforce-recomp -fhpc -isrc -outputdir /tmp  test/Test.hs 

echo "---------------"
echo "program output:"
echo "---------------"
./test/Test

echo "---------------"
hpc markup --destdir=test/coverage Test.tix

echo "----------------"
echo "coverage report:"
echo "----------------"
hpc report Test.tix

#echo "------------------"
#echo "hlint suggestions:"
#echo "------------------"
#hlint src
<commit_msg>Re-enable hlint during testing. Excludes generated Commands.hs file.<commit_after>#!/usr/bin/env sh

ghc --make -fforce-recomp -fhpc -isrc -outputdir /tmp  test/Test.hs 

echo "---------------"
echo "program output:"
echo "---------------"
./test/Test

echo "---------------"
hpc markup --destdir=test/coverage Test.tix

echo "----------------"
echo "coverage report:"
echo "----------------"
hpc report Test.tix

echo "------------------"
echo "hlint suggestions:"
echo "------------------"
find src ! -name 'Commands.hs' ! -type d | xargs hlint

{'fraction_non_alphanumeric': 0.342685370741483, 'fraction_numerical': 0.0, 'mean_word_length': 1.5484693877551021, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3900338', 'n_tokens_mistral': 309, 'n_tokens_neox': 298, 'n_words': 85}