diff options
author | Paul Oliver <contact@pauloliver.dev> | 2025-09-11 03:04:36 +0000 |
---|---|---|
committer | Paul Oliver <contact@pauloliver.dev> | 2025-09-12 01:08:04 +0000 |
commit | ac5a85abac1a47645713d3b7539fccb1b744dd85 (patch) | |
tree | f0107a391a5f937b3d076f0edd1c8df9c3bbc0c2 /hsm-drive/hsm-drive.cabal | |
parent | 89aab732dc3d484b99c0761728285bca6f6b1ba0 (diff) |
Adds `hsm-drive`
Diffstat (limited to 'hsm-drive/hsm-drive.cabal')
-rw-r--r-- | hsm-drive/hsm-drive.cabal | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/hsm-drive/hsm-drive.cabal b/hsm-drive/hsm-drive.cabal new file mode 100644 index 0000000..0443dda --- /dev/null +++ b/hsm-drive/hsm-drive.cabal @@ -0,0 +1,44 @@ +cabal-version: 3.8 +author: Paul Oliver <contact@pauloliver.dev> +name: hsm-drive +version: 0.1.0.0 + +library + build-depends: + , base + , effectful-core + , effectful-plugin + , hsm-gpio + , hsm-log + , hsm-pwm + + default-language: GHC2024 + exposed-modules: Hsm.Drive + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -fplugin=Effectful.Plugin + +executable test-drive + build-depends: + , base + , echo + , effectful-core + , effectful-plugin + , hsm-core + , hsm-gpio + , hsm-log + , hsm-pwm + , hsm-repl + , monad-loops + , optparse-applicative + + default-language: GHC2024 + ghc-options: + -O2 -Wall -Werror -Wno-star-is-type -Wunused-packages + -Wno-unused-imports -ddump-splices -fplugin=Effectful.Plugin + + if !arch(x86_64) + ghc-options: -optl=-mno-fix-cortex-a53-835769 + + main-is: Test/Drive.hs + other-modules: Hsm.Drive |