aboutsummaryrefslogtreecommitdiff
path: root/hsm-drive/hsm-drive.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-drive/hsm-drive.cabal')
-rw-r--r--hsm-drive/hsm-drive.cabal44
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