-
Notifications
You must be signed in to change notification settings - Fork 0
/
jolharg-reflex.cabal
122 lines (110 loc) · 3.33 KB
/
jolharg-reflex.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
cabal-version: 3.0
name: jolharg-reflex
version: 0.1.0.0
license: AGPL-3.0-only
author: Dan Dart
maintainer: [email protected]
-- copyright:
-- category:
build-type: Simple
extra-source-files: CHANGELOG.md
-- TODO investigate data
library
exposed-modules:
Service.Auth
Service.TH
Service.User
Service.XSRF
UI.Bootstrap.Button
UI.Bootstrap.Form
UI.Bootstrap.Modal
UI.Bootstrap.Pane
UI.Bootstrap.TabbedNav
UI.Head
UI.Tab.Login
UI.Tab.Register
UI.Table.Cell
UI.Table.CSSClasses
-- , UI.Tab.TH
-- other-extensions:
build-depends:
, base >=4.12 && <5
, containers
, cookie
, jolharg-models
, jolharg-servant-examples
, jolharg-web-models
, jolharg-web-types
, jsaddle-dom
, lens
, reflex-dom
, servant
, servant-reflex
, template-haskell
, text
-- , aeson
-- , bytestring
-- , containers-extra
-- , random
-- , time
-- , uuid-types
ghc-options:
-Wall -Werror -Weverything -Wno-unsafe -Wno-safe
-Wno-missing-import-lists -Wno-missing-export-lists
-Wno-implicit-prelude -Wno-missing-safe-haskell-mode
-Wno-all-missed-specialisations -Wno-missed-specialisations
-Wno-missing-role-annotations -Wno-missing-kind-signatures
-Wno-missing-poly-kind-signatures -Wno-unrecognised-warning-flags
-Wno-missed-specialisations -Wno-prepositive-qualified-module
-- these don't work on ghcjs yet
-- -Wno-missing-kind-signatures -Wno-missing-poly-kind-signatures
-- -Wno-missing-local-signatures
cpp-options: -DGHCJS_BROWSER
hs-source-dirs: lib
default-language: Haskell2010
default-extensions:
DerivingStrategies
ImportQualifiedPost
NoGeneralisedNewtypeDeriving
OverloadedStrings
UnicodeSyntax
test-suite jolharg-reflex-test
hs-source-dirs: test
type: exitcode-stdio-1.0
default-language: Haskell2010
default-extensions:
DerivingStrategies
ImportQualifiedPost
NoGeneralisedNewtypeDeriving
OverloadedStrings
UnicodeSyntax
main-is: Spec.hs
if !arch(wasm32)
ghc-options:
-Wall -Werror -threaded -rtsopts -with-rtsopts=-N
-Wno-all-missed-specialisations -Wno-missed-specialisations
-Wno-prepositive-qualified-module -Wno-missing-role-annotations
-Wno-missing-kind-signatures -Wno-missing-poly-kind-signatures
-Wno-unrecognised-warning-flags -Wno-missed-specialisations
ghc-options:
-Wall -Werror -Weverything -Wno-unsafe -Wno-safe
-Wno-missing-import-lists -Wno-missing-export-lists
-Wno-implicit-prelude -Wno-missing-safe-haskell-mode
-Wno-all-missed-specialisations -Wno-missed-specialisations
-Wno-missing-role-annotations -Wno-missing-kind-signatures
-Wno-missing-poly-kind-signatures -Wno-unrecognised-warning-flags
-Wno-missed-specialisations -Wno-prepositive-qualified-module
-- these don't work on ghcjs yet
-- -Wno-missing-kind-signatures -Wno-missing-poly-kind-signatures
-- -Wno-missing-local-signatures
cpp-options: -DGHCJS_BROWSER
build-depends:
, base >=4.12 && <5
, hspec
-- , jolharg-reflex
-- , hspec-core
-- , hspec-expectations
-- , HUnit
-- , QuickCheck
build-tool-depends: hspec-discover:hspec-discover
other-modules: MainSpec