summaryrefslogtreecommitdiff
path: root/package.yaml
blob: fa34022bcd907ff661e0045592641f3adcd42145 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
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
default-extensions: NoImplicitPrelude

dependencies:
  - base
  - universum
  - aeson
  - bytestring
  - text

internal-libraries:
  tiled:
    source-dirs: 'tiled'
    dependencies:
      - vector
    exposed-modules:
      - Data.Tiled
      - Data.Tiled.Abstract

library:
  source-dirs: 'lib'
  dependencies:
    - containers
    - tiled
    - text
    - vector
    - transformers
    - either
    - filepath
    - getopt-generics
    - regex-tdfa
    - extra
    - deepseq
    - 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
  cwality-maps:
    main: Main.hs
    source-dirs: 'cwality-maps'
    ghc-options: -rtsopts -threaded
    dependencies:
      - tiled
      - servant
      - servant-server
      - wai
      - wai-extra
      - warp
      - fmt
      - tomland
      - microlens-platform
      - directory
      - filepath
      - containers
      - base64
  walint-mapserver:
    main: Main.hs
    source-dirs: 'server'
    ghc-options: -rtsopts -threaded
    dependencies:
      - walint
      - containers
      - base-compat
      - time
      - directory
      - filepath
      - warp
      - wai
      - wai-extra
      - lucid
      - servant
      - servant-server
      - servant-client
      - servant-lucid
      - http-types
      - http-client
      - process
      - extra
      - microlens-platform
      - fmt
      - tomland
      - stm
      - async
      - cryptohash-sha1
      - uuid
      - base64-bytestring