-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
114 lines (103 loc) · 3.06 KB
/
package.yaml
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
name: scale-by-the-bay
version: 0.1.0
license: Apache-2.0
github: "jkachmar/scale-by-the-bay-2018"
author: "Joe Kachmar"
copyright: "2018 Joe Kachmar"
description: Please see the README on GitHub at <https://github.com/jkachmar/scale-by-the-bay-2018#readme>
extra-source-files:
- README.md
- ChangeLog.md
ghc-options:
- -fwarn-tabs
- -fhide-source-paths
- -fprint-potential-instances
- -optP-Wno-nonportable-include-path
- -Wall
- -Wcpp-undef
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wno-unused-do-bind
- -Wno-deprecations
- -Wno-monomorphism-restriction
- -Wno-unticked-promoted-constructors
- -Wpartial-fields
- -Wredundant-constraints
default-extensions:
- ConstraintKinds
- DataKinds
- DeriveGeneric
- FlexibleContexts
- FlexibleInstances
- FunctionalDependencies
- GADTs
- GeneralizedNewtypeDeriving
- InstanceSigs
- LambdaCase
# - NoImplicitPrelude
- OverloadedStrings
- PatternSynonyms
- QuasiQuotes
- RankNTypes
- RecordWildCards
- ScopedTypeVariables
- StandaloneDeriving
- TemplateHaskell
- TypeApplications
- TypeFamilies
- TypeOperators
- ViewPatterns
# Dependencies common to all modules
dependencies:
- base >= 4.7 && < 5
- servant >= 0.14.1 && < 0.15
- servant-server >= 0.14.1 && < 0.15
library:
source-dirs: library
dependencies:
# Miscellaneous external libraries
- aeson >= 1.4.1.0 && < 1.5
- aeson-pretty >= 0.8.7 && < 0.9
- bytestring >= 0.10.8.2 && < 0.11
- directory >= 1.3.1.5 && < 1.4
- generic-random >= 1.2.0.0 && < 1.3
- microlens >= 0.4.9.1 && < 0.5
- pretty-simple >= 2.1.0.1 && < 2.3
- QuickCheck >= 2.11.3 && < 2.13
- quickcheck-arbitrary-adt >= 0.3.1.0 && < 0.4
- quickcheck-instances >= 0.3.19 && < 0.4
- text >= 1.2.3.1 && < 1.3
- time >= 1.8.0.2 && < 1.10
# Web server libraries
- warp >= 3.2.25 && < 3.3
- wai-extra >= 3.0.24.3 && < 3.1
- servant-swagger >= 1.1.6 && < 1.2
- servant-swagger-ui-redoc == 0.3.0.1.21.2
- swagger2 >= 2.2.2 && < 2.3
executables:
demo:
main: Main.hs
source-dirs: executables
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
# The only dependency required to build the executable is the library
dependencies: scale-by-the-bay
tests:
tests:
main: Driver.hs
source-dirs: tests
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
# This project's library, to-be-tested
- scale-by-the-bay
# External test support libraries
- hspec >= 2.5.5 && < 2.7
- hspec-discover >= 2.5.5 && < 2.7
- hspec-golden-aeson >= 0.7.0.0 && < 0.8
- servant-quickcheck >= 0.0.7.3 && < 0.1