From cfa5fe3b146aab8a0a007cad9dfeaf3e263ca3ff Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Tue, 13 Jul 2021 18:08:57 +0200
Subject: [PATCH] Update ghcid script to ensure template haskell is run

---
 ghcid | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/ghcid b/ghcid
index 998f9da..10f6c88 100755
--- a/ghcid
+++ b/ghcid
@@ -7,7 +7,9 @@
         --warnings \
         "--command=cabal repl lib:quasar-network" \
         "--test=:! \
+          zsh -c 'print -P %F{yellow}Cleaning repository to ensure template haskell is run%f' && \
+          cabal clean && \
           cabal test --test-show-details=direct --ghc-option -fdiagnostics-color=always && \
           cabal build --ghc-option -fdiagnostics-color=always && \
-          zsh -c 'print -P %F{green}build and tests passed%f' \
+          zsh -c 'print -P %F{green}Build and tests passed%f' \
         "
-- 
GitLab