aboutsummaryrefslogtreecommitdiff
path: root/hsm-repl/hsm-repl.cabal
diff options
context:
space:
mode:
authorPaul Oliver <contact@pauloliver.dev>2025-07-02 15:06:35 +0200
committerPaul Oliver <contact@pauloliver.dev>2025-08-13 23:54:10 +0000
commit8fe62292f18f4577303a868a8557b0486b218bcb (patch)
treecb9a9108eea479e932f37d03cf399b680e3886b2 /hsm-repl/hsm-repl.cabal
parent0be7f1274e0cb8406bd4262b86d5e2e9dda77d7a (diff)
Code now uses `effectful` to manage side-effects
Diffstat (limited to 'hsm-repl/hsm-repl.cabal')
-rw-r--r--hsm-repl/hsm-repl.cabal36
1 files changed, 36 insertions, 0 deletions
diff --git a/hsm-repl/hsm-repl.cabal b/hsm-repl/hsm-repl.cabal
new file mode 100644
index 0000000..fd346f9
--- /dev/null
+++ b/hsm-repl/hsm-repl.cabal
@@ -0,0 +1,36 @@
+cabal-version: 3.8
+author: Paul Oliver
+build-type: Simple
+maintainer: contact@pauloliver.dev
+name: hsm-repl
+version: 0.1.0.0
+
+common common
+ build-depends:
+ , base
+ , effectful-core
+ , effectful-plugin
+ , generic-data-functions
+ , haskeline
+ , hint
+ , hsm-log
+ , resourcet-effectful
+
+ default-language: GHC2024
+ ghc-options:
+ -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages
+ -fplugin=Effectful.Plugin
+
+library
+ import: common
+ exposed-modules: Hsm.Repl
+
+executable test-repl
+ import: common
+ build-depends: monad-loops
+
+ if !arch(x86_64)
+ ghc-options: -optl=-mno-fix-cortex-a53-835769
+
+ main-is: Test/Repl.hs
+ other-modules: Hsm.Repl