diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-08-08 22:23:25 +0200 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-08-17 01:05:09 +0000 |
commit | b679114531a5054487123252b6e3a9d22b7c27a7 (patch) | |
tree | ceaf4ac5fc53f416f0d6f845f73b09f98ab1d722 /hsm-repl | |
parent | 8fe62292f18f4577303a868a8557b0486b218bcb (diff) |
Simplifies cabal files
Diffstat (limited to 'hsm-repl')
-rw-r--r-- | hsm-repl/hsm-repl.cabal | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/hsm-repl/hsm-repl.cabal b/hsm-repl/hsm-repl.cabal index fd346f9..b37e923 100644 --- a/hsm-repl/hsm-repl.cabal +++ b/hsm-repl/hsm-repl.cabal @@ -1,11 +1,9 @@ cabal-version: 3.8 -author: Paul Oliver -build-type: Simple -maintainer: contact@pauloliver.dev +author: Paul Oliver <contact@pauloliver.dev> name: hsm-repl version: 0.1.0.0 -common common +library build-depends: , base , effectful-core @@ -16,21 +14,31 @@ common common , hsm-log , resourcet-effectful - default-language: GHC2024 + default-language: GHC2024 + exposed-modules: Hsm.Repl 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 + build-depends: + , base + , effectful-core + , effectful-plugin + , generic-data-functions + , haskeline + , hint + , hsm-log + , monad-loops + , resourcet-effectful + + default-language: GHC2024 + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -fplugin=Effectful.Plugin if !arch(x86_64) ghc-options: -optl=-mno-fix-cortex-a53-835769 - main-is: Test/Repl.hs - other-modules: Hsm.Repl + main-is: Test/Repl.hs + other-modules: Hsm.Repl |