Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

[DEVOPS-1031] remove tput from hlint test #3527

Merged
merged 1 commit into from
Sep 6, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions scripts/test/hlint.nix
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,9 @@ runCommand "cardano-hlint-check" { buildInputs = [ hlint ]; } ''
echo '====================================================================='
echo 'Note: to ignore a particular hint (e.g. "Reduce duplication"), write'
echo 'this in the source file:'
tput bold
echo '{-# ANN module ("HLint: ignore Reduce duplication" :: Text) #-}'
tput sgr0
echo 'You can also apply it just to a particular function, which is better:'
tput bold
echo '{-# ANN funcName ("HLint: ignore Reduce duplication" :: Text) #-}'
tput sgr0
exit $EXIT_CODE
else
echo $EXIT_CODE > $out
Expand Down