Skip to content
Snippets Groups Projects
Commit 8c63880f authored by Mr. Snow Ball / projects's avatar Mr. Snow Ball / projects :arrows_counterclockwise:
Browse files

Add scripts for running ghci and ghcid

ghci needs some convincing to work with a custom prelude. Therefore,
we cannot use `stack ghci`.
parent c4270198
No related branches found
No related tags found
No related merge requests found
:set -isrc -XOverloadedStrings -XNamedFieldPuns -XLambdaCase -XMultiWayIf -XScopedTypeVariables
:set -XNoImplicitPrelude
:load src/Prelude.hs
:set -XImplicitPrelude
:load src/QBar/Cli.hs
#!/usr/bin/env bash
set -e
# see https://gitlab.haskell.org/ghc/ghc/-/issues/10920
stack exec -- ghci -ghci-script load-all.ghci
#!/usr/bin/env bash
set -e
stack exec -- ghcid -c "ghci -ghci-script load-all.ghci"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment