aboutsummaryrefslogtreecommitdiff
path: root/hsm-bin/hsm-bin.cabal
blob: de7853f30b297a9121bf2edb8d6a3be1e948ce43 (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
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