aboutsummaryrefslogtreecommitdiff
path: root/hsm-repl/hsm-repl.cabal
blob: fd346f9e158e71af75a96a48970a42f4e4d4e352 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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