-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample-handlers.cabal
137 lines (131 loc) · 3.07 KB
/
example-handlers.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
cabal-version: 3.0
name: example-handlers
version: 1.0.0
author: Nicolas Hery
common options
build-depends:
, base ^>= 4.17.1.0
default-extensions:
BangPatterns
BinaryLiterals
ConstrainedClassMethods
ConstraintKinds
DataKinds
DefaultSignatures
DeriveDataTypeable
DeriveFoldable
DeriveFunctor
DeriveGeneric
DeriveLift
DeriveTraversable
DoAndIfThenElse
EmptyCase
EmptyDataDecls
EmptyDataDeriving
ExistentialQuantification
ExplicitForAll
FlexibleContexts
FlexibleInstances
ForeignFunctionInterface
FunctionalDependencies
GADTSyntax
GADTs
GeneralisedNewtypeDeriving
HexFloatLiterals
ImplicitPrelude
ImportQualifiedPost
InstanceSigs
KindSignatures
LambdaCase
MonomorphismRestriction
MultiParamTypeClasses
MultiWayIf
NamedFieldPuns
NamedWildCards
NumericUnderscores
OverloadedStrings
PatternGuards
PolyKinds
PostfixOperators
RankNTypes
RelaxedPolyRec
ScopedTypeVariables
StandaloneDeriving
StandaloneKindSignatures
StarIsType
TraditionalRecordSyntax
TupleSections
TypeApplications
TypeFamilies
TypeOperators
TypeSynonymInstances
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wredundant-constraints
-Wmissing-export-lists
-Wpartial-fields
-Wunused-packages
default-language: Haskell2010
library
import: options
exposed-modules:
App.AppEnv
App.Cart
App.Config
App.Db
App.External
App.Json
App.Logging
App.Req
App.Scotty
App.Servant
App.Text
App.Yesod
build-depends:
, aeson ^>= 2.1
, Blammo ^>= 1.1
, bytestring ^>= 0.11
, http-client ^>= 0.7
, http-types ^>= 0.12
, modern-uri ^>= 0.3
, monad-logger ^>= 0.3
, mtl ^>= 2.3
, postgresql-simple ^>= 0.7
, req ^>= 3.13
, resource-pool ^>= 0.4
, scotty ^>= 0.12
, servant-server ^>= 0.20
, string-conversions ^>= 0.4
, text ^>= 2.0
, unliftio ^>= 0.2
, warp ^>= 3.3
, yesod-core ^>= 1.6
hs-source-dirs: src
executable example-scotty
import: options
main-is: MainScotty.hs
build-depends:
example-handlers
hs-source-dirs: app
executable example-yesod
import: options
main-is: MainYesod.hs
build-depends:
example-handlers
hs-source-dirs: app
executable example-servant
import: options
main-is: MainServant.hs
build-depends:
example-handlers
hs-source-dirs: app
executable example-external
import: options
main-is: MainExternal.hs
build-depends:
example-handlers
hs-source-dirs: app