summaryrefslogtreecommitdiff
path: root/walint.cabal
blob: c189dda6f2d5b915d32f9883b8e69fd7c5ebf5c8 (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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
cabal-version:      2.4
name:               walint
version:            0.1.0.0

-- A short (one-line) description of the package.
-- synopsis:

-- A longer description of the package.
-- description:

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
-- license:
author:             stuebinm
maintainer:         stuebinm@disroot.org

-- A copyright notice.
-- copyright:
-- category:
extra-source-files: CHANGELOG.md

library
    default-language: Haskell2010
    ghc-options: -Wall -Wno-name-shadowing
    hs-source-dirs: lib
    exposed-modules:
        CheckMap
        WriteRepo
        CheckDir
        LintWriter
        Properties
        Tiled
        TiledAbstract
        Util
        Types
        Paths
        Uris
        LintConfig
        Badges
        LayerData
        Dirgraph
    build-depends:    base,
                      aeson,
                      bytestring,
                      containers,
                      text,
                      vector,
                      transformers,
                      mtl,
                      either,
                      filepath,
                      getopt-generics,
                      regex-tdfa,
                      extra,
                      witherable,
                      dotgen

-- TODO: move more stuff into lib, these dependencies are silly
executable walint
    main-is:          Main.hs
    ghc-options: -Wall
    build-depends:    base,
                      walint,
                      getopt-generics,
                      aeson,
                      aeson-pretty,
                      bytestring,
                      mtl,
                      text
    hs-source-dirs:   src
    default-language: Haskell2010