summaryrefslogtreecommitdiff
path: root/hint.cabal
blob: cd2628178d7cca33b1003b984c4a2858f956ef6d (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
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
cabal-version:      3.0
name:               hint
version:            0.1.0.0
-- synopsis:
-- description:
license:            BSD-3-Clause
license-file:       LICENSE
author:             Kleidi Bujari
maintainer:         mail@4kb.net
-- copyright:
build-type:         Simple
extra-doc-files:    CHANGELOG.md
-- extra-source-files:

common warnings
    ghc-options: -Wall

library hint-lib
    import:           warnings
    exposed-modules:  Hint.Lexer
                      Hint.Parser
                      Hint.Eval
    -- other-modules:
    -- other-extensions:
    build-depends:    base ^>=4.20.2.0,
                      containers >= 0.7,
                      containers >= 0.7,
                      process >= 1.6.26.1,
                      text >= 2.1.3
    hs-source-dirs:   src
    default-language: Haskell2010

executable hint
    import:           warnings
    main-is:          Main.hs
    -- other-modules:
    -- other-extensions:
    build-depends:
                  base ^>=4.20.2.0,
                  containers >= 0.7,
                  hint-lib,
                  text >= 2.1.3

    hs-source-dirs:   app
    default-language: GHC2024

test-suite hint-test
    import:           warnings
    default-language: GHC2024
    -- other-modules:
    -- other-extensions:
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:
                  base ^>=4.20.2.0,
                  containers >= 0.7,
                  hint,
                  text >= 2.1.3