summaryrefslogtreecommitdiff
path: root/package.yaml
blob: 2265b4ee36f8c7e93e163569dc5d4a2ab4ec242a (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
74
75
76
77
78
79
80
81
82
83
84
85
86
name: walint
version: 0.1
homepage: https://stuebinm.eu/git/walint
# TODO: license
author: stuebinm
maintainer: stuebinm@disroot.org
copyright: 2022 stuebinm
ghc-options: -Wall -Wno-name-shadowing -Wno-unticked-promoted-constructors

dependencies:
  - base
  - aeson
  - bytestring
  - mtl
  - text

library:
  source-dirs: 'lib'
  dependencies:
    - containers
    - text
    - vector
    - transformers
    - either
    - filepath
    - getopt-generics
    - regex-tdfa
    - extra
    - witherable
    - dotgen
    - text-metrics
    - uri-encode
    - network-uri
    - HList
  exposed-modules:
    - CheckDir
    - CheckMap
    - WriteRepo
    - Util
    - Types
    - LintConfig

executables:
  walint:
    main: Main.hs
    source-dirs: 'src'
    dependencies:
      - walint
      - getopt-generics
      - aeson-pretty
      - template-haskell
      - process
  walint-server:
    main: Main.hs
    source-dirs: 'server'
    default-extensions:
      - NoImplicitPrelude
    dependencies:
      - walint
      - universum
      - containers
      - base-compat
      - time
      - directory
      - filepath
      - warp
      - wai
      - wai-extra
      - servant
      - servant-server
      - lucid
      - servant-lucid
      - http-types
      - cli-git
      - cli-extras
      - extra
      - microlens
      - microlens-th
      - fmt
      - tomland
      - dotgen
      - stm
      - async
      - cryptohash-sha1
      - uuid
      - base64-bytestring