aboutsummaryrefslogtreecommitdiff
path: root/hsm-bin/hsm-bin.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'hsm-bin/hsm-bin.cabal')
-rw-r--r--hsm-bin/hsm-bin.cabal32
1 files changed, 32 insertions, 0 deletions
diff --git a/hsm-bin/hsm-bin.cabal b/hsm-bin/hsm-bin.cabal
new file mode 100644
index 0000000..de7853f
--- /dev/null
+++ b/hsm-bin/hsm-bin.cabal
@@ -0,0 +1,32 @@
+cabal-version: 3.4
+author: Paul Oliver
+build-type: Simple
+maintainer: contact@pauloliver.dev
+name: hsm-bin
+version: 0.1.0.0
+
+common test-executable
+ build-depends:
+ , base
+ , hsm-gpio
+ , hsm-pwm
+ , hsm-readline
+ , io-region
+ , monad-loops
+
+ ghc-options: -Wall -Wunused-packages
+
+ if !arch(x86_64)
+ ghc-options: -optl=-mno-fix-cortex-a53-835769
+
+ default-language: GHC2021
+
+executable test-status
+ import: test-executable
+ build-depends: hsm-status
+ main-is: Test/Status.hs
+
+executable test-drive
+ import: test-executable
+ build-depends: hsm-drive
+ main-is: Test/Drive.hs