summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-06 14:19:35 -0500
committerBen Gamari <ben@smart-cactus.org>2019-12-06 15:55:52 -0500
commitba46883082b97ebc12ca6ab0f1ba2abb55cbc93a (patch)
tree4fb7dfc24057b64b3765f968796573fc2afe282a
parent9ddb698d0d00ac93bd0c14490447c955295a2094 (diff)
downloadhaskell-ba46883082b97ebc12ca6ab0f1ba2abb55cbc93a.tar.gz
Colorize changelog check
-rwxr-xr-x.gitlab/linters/check-changelogs.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.gitlab/linters/check-changelogs.sh b/.gitlab/linters/check-changelogs.sh
index fa2801bfb1..0a0b6328b9 100755
--- a/.gitlab/linters/check-changelogs.sh
+++ b/.gitlab/linters/check-changelogs.sh
@@ -2,7 +2,13 @@
set -e
+COLOR_RED="\e[31m"
+COLOR_GREEN="\e[32m"
+COLOR_NONE="\e[0m"
+
grep TBA libraries/*/changelog.md && (
- echo "Error: Found \"TBA\"s in changelogs."
+ echo -e "${COLOR_RED}Error: Found \"TBA\"s in changelogs.${COLOR_NONE}"
exit 1
)
+
+echo -e "${COLOR_GREEN}changelogs look okay.${COLOR_NONE}"