-
Notifications
You must be signed in to change notification settings - Fork 0
/
jolharg-models.cabal
109 lines (97 loc) · 3.41 KB
/
jolharg-models.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
cabal-version: 3.0
name: jolharg-models
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
README.md
library
exposed-modules:
Data.Model
Data.Model.TH
Types.TH
-- other-extensions:
build-depends:
, aeson
, base >=4.12 && <5
, containers
, jolharg-web-types
, servant
, template-haskell
, time
, uuid-types
-- @TODO move the servant part out
hs-source-dirs: lib
default-language: Haskell2010
default-extensions:
DerivingStrategies
ImportQualifiedPost
NoGeneralisedNewtypeDeriving
OverloadedStrings
UnicodeSyntax
if (impl(ghcjs) || impl(ghc <9.2))
ghc-options:
-Wall -Werror -Weverything -Wno-unsafe -Wno-safe
-Wno-missing-import-lists -Wno-missing-export-lists
-Wno-implicit-prelude -Wno-missing-local-signatures
-Wno-missing-safe-haskell-mode -Wno-prepositive-qualified-module
-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
else
ghc-options:
-Wall -Werror -Weverything -Wno-unsafe -Wno-safe
-Wno-missing-import-lists -Wno-missing-export-lists
-Wno-implicit-prelude -Wno-missing-local-signatures
-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-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
test-suite jolharg-models-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 (impl(ghcjs) || impl(ghc <9.2))
ghc-options:
-Wall -Werror -threaded -rtsopts -with-rtsopts=-N -Weverything
-Wno-unsafe -Wno-safe -Wno-missing-import-lists
-Wno-missing-export-lists -Wno-implicit-prelude
-Wno-missing-safe-haskell-mode -Wno-missing-local-signatures
-Wno-prepositive-qualified-module -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
else
ghc-options:
-Wall -Werror -threaded -rtsopts -with-rtsopts=-N -Weverything
-Wno-unsafe -Wno-safe -Wno-missing-import-lists
-Wno-missing-export-lists -Wno-implicit-prelude
-Wno-missing-local-signatures -Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module -Wno-missing-kind-signatures
-Wno-missing-poly-kind-signatures -Wno-all-missed-specialisations
-Wno-missed-specialisations -Wno-missing-role-annotations
-Wno-unrecognised-warning-flags -Wno-missed-specialisations
build-depends:
, base >=4.12 && <5
, hspec
-- , jolharg-models
-- , hspec-core
-- , hspec-expectations
-- , HUnit
-- , QuickCheck
build-tool-depends: hspec-discover:hspec-discover
other-modules: MainSpec