From 65baf0564a401b0ebfdbf10197b8b2a9ca5d80bf Mon Sep 17 00:00:00 2001
From: Jens Nolte <git@queezle.net>
Date: Sat, 10 Jul 2021 01:05:08 +0200
Subject: [PATCH] Add script to run ghcid

---
 ghcid | 1 +
 1 file changed, 1 insertion(+)
 create mode 100755 ghcid

diff --git a/ghcid b/ghcid
new file mode 100755
index 0000000..963a402
--- /dev/null
+++ b/ghcid
@@ -0,0 +1 @@
+(git ls-files app; git ls-files test; git ls-files '*.cabal') | entr -r nix develop -c ghcid --warnings "--command=cabal repl lib:quasar" "--test=:! 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'"
-- 
GitLab