-
Notifications
You must be signed in to change notification settings - Fork 4
/
lhx.cabal
146 lines (132 loc) · 3.46 KB
/
lhx.cabal
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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
cabal-version: 3.0
name: lhx
version: 0.1.0.0
synopsis: A simple line-by-line templating engine
homepage: https://github.com/ruHaskell-learn/lhx
license: BSD-3-Clause
license-file: LICENSE
author: Aleksei Pirogov
maintainer: [email protected]
category: Text
extra-source-files:
CHANGELOG.md
README.md
data-files:
data/lhx.svg.gz
data/lhx-16x16.ico
data/mvp.css.gz
data/htmx.min.js.gz
common defaults
default-language: Haskell2010
build-depends: base >=4.14.3.0
default-extensions:
BlockArguments
ImportQualifiedPost
OverloadedStrings
TupleSections
TypeApplications
LambdaCase
FlexibleContexts
ghc-options:
-Wall -Wcompat -Wincomplete-record-updates
-Wincomplete-uni-patterns -Wredundant-constraints
-Wmissing-exported-signatures
common scotty-app
import: defaults
build-depends: lhx
, lhx-assets
, lhx-browser
, text
, scotty
, blaze-html
, blaze-markup
, xstatic
library
import: defaults
hs-source-dirs: lib
exposed-modules:
Lhx
Lhx.Parser
build-depends:
, megaparsec
, text
, mtl
, containers
, validationt
library lhx-assets
import: defaults
hs-source-dirs: lib-assets
exposed-modules:
Lhx.Assets
build-depends:
, text
, bytestring
, file-embed
library lhx-browser
import: defaults
hs-source-dirs: lib-browser
exposed-modules:
Lhx.Browser
build-depends:
, process
, port-utils
executable lhx
import: defaults
hs-source-dirs: app
main-is: Main.hs
build-depends: lhx
, text
, optparse-applicative
executable lhx-tui
import: defaults
hs-source-dirs: app-tui
main-is: Main.hs
ghc-options: -threaded
default-extensions:
TemplateHaskell
build-depends: lhx
, text
, brick
, vty
, microlens
, microlens-th
, mtl
executable lhx-tpgui
import: defaults
hs-source-dirs: app-tpgui
main-is: Main.hs
ghc-options: -threaded
build-depends: lhx
, lhx-assets
, lhx-browser
, text
, threepenny-gui
executable lhx-web
import: scotty-app
hs-source-dirs: app-web
main-is: Main.hs
ghc-options: -threaded
build-depends: file-embed
executable lhx-webx
import: scotty-app
hs-source-dirs: app-webx
main-is: Main.hs
ghc-options: -threaded
build-depends: file-embed
, wai
, wai-websockets
, websockets
, aeson
, mtl
test-suite lhx-test
import: defaults
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
other-modules: TestParser, TestTemplate
build-depends: lhx
, text
, quickcheck-text
, tasty
, tasty-hunit
, tasty-quickcheck