~samhh/unerf

ref: 0.1.0 unerf/unerf.cabal -rw-r--r-- 1.9 KiB
20359087 — Sam A. Horvath-Hunt 0.1.0 6 months ago
                                                                                
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
cabal-version:             2.2
name:                      unerf
version:                   0.1.0
author:                    Sam A. Horvath-Hunt
maintainer:                hello@samhh.com
license:                   AGPL-3.0-only
build-type:                Simple

common common
  default-language:        Haskell2010
  default-extensions:
    LambdaCase
    NoImplicitPrelude
    OverloadedStrings
    TupleSections
  ghc-options:
    -Wall
  build-depends:
      base                 ^>= 4.14
    , containers           ^>= 0.6
    , mtl                  ^>= 2.2
    , optics               ^>= 0.4
    , relude               ^>= 0.7
    , text                 ^>= 1.2
  mixins:
      base hiding (Prelude)
    , relude (Relude as Prelude)

executable unerf
  import:                  common
  hs-source-dirs:          exec/
  main-is:                 Main.hs
  build-depends:
      unerf
    , optparse-applicative ^>= 0.16
  other-modules:
    Paths_unerf
    CLI

library
  import:                  common
  hs-source-dirs:          lib/
  default-extensions:
    DeriveAnyClass
    DeriveGeneric
  build-depends:
      aeson                ^>= 1.5
    , directory            ^>= 1.3
    , filepath             ^>= 1.4
    , makefile             ^>= 1.1
  exposed-modules:
    Unerf
    Unerf.Solver
    Unerf.Tool
    Utils
  other-modules:
    Unerf.Monad
    Unerf.Tool.Cabal
    Unerf.Tool.Cargo
    Unerf.Tool.Make
    Unerf.Tool.Npm
    Unerf.Tool.Spago
    Unerf.Tool.Stack
    Unerf.Tool.Yarn

test-suite test-unerf
  import:                  common
  hs-source-dirs:          test/
  main-is:                 Spec.hs
  type:                    exitcode-stdio-1.0
  build-depends:
      unerf
    , hedgehog             ^>= 1.0
    , hspec                ^>= 2.7
    , hspec-hedgehog       ^>= 0.0.1
  build-tool-depends:
      hspec-discover:hspec-discover
  other-modules:
    Unerf.SolverSpec