diff options
Diffstat (limited to 'hsm-battery/hsm-battery.cabal')
| -rw-r--r-- | hsm-battery/hsm-battery.cabal | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/hsm-battery/hsm-battery.cabal b/hsm-battery/hsm-battery.cabal new file mode 100644 index 0000000..3614868 --- /dev/null +++ b/hsm-battery/hsm-battery.cabal @@ -0,0 +1,49 @@ +cabal-version: 3.8 +author: Paul Oliver <contact@pauloliver.dev> +name: hsm-battery +version: 0.1.0.0 + +library + build-depends: + , base + , c-storable-deriving + , effectful-core + , effectful-plugin + , hsm-core + , hsm-log + , unix + , vector + + default-language: GHC2024 + exposed-modules: Hsm.Battery + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -fplugin=Effectful.Plugin + + other-modules: Hsm.Battery.FFI + +executable test-battery + build-depends: + , base + , c-storable-deriving + , effectful-core + , effectful-plugin + , hsm-battery + , hsm-core + , hsm-log + , optparse-applicative + , unix + , vector + + default-language: GHC2024 + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -Wno-unused-imports -fplugin=Effectful.Plugin + + if !arch(x86_64) + ghc-options: -optl=-mno-fix-cortex-a53-835769 + + main-is: Test/Battery.hs + other-modules: + Hsm.Battery + Hsm.Battery.FFI |
