-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpackage.yaml
91 lines (81 loc) · 1.92 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
name: terradiff
version: 0.1.0.0
homepage: https://github.com/jml/terradiff#readme
license: AGPL
author: Jonathan Lange
maintainer: [email protected]
copyright: (c) 2018 Jonathan M. Lange
extra-source-files:
- README.rst
- CHANGELOG.rst
synopsis: Terraforming with style
category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README file.
description: Please see the README on GitHub at <https://github.com/jml/terradiff#readme>
ghc-options: -Wall -Werror
default-extensions:
- NamedFieldPuns # Allow `FooRecord{foo, bar, baz} = fooRecord`
- NoImplicitPrelude # We use Protolude as the standard Prelude
- OverloadedStrings # Allow Haskell to interpret string literals as Text, ByteString, etc.
dependencies:
- base >= 4.7 && < 5
- protolude
library:
source-dirs: src
dependencies:
- aeson
- attoparsec
- bytestring
- clock
- jml-web-service
- lucid
- monad-logger
- network-uri
- optparse-applicative
- process
- prometheus-client
- servant >= 0.14 # Get the better linking utilities
- servant-lucid
- servant-server >= 0.14
- stm
- time
- unix
benchmarks:
terradiff-benchmarks:
source-dirs: benchmarks
main: Main.hs
dependencies:
- terradiff
- criterion
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
tests:
terradiff-tests:
source-dirs: tests
main: Main.hs
dependencies:
- terradiff
- hedgehog
- tasty
- tasty-discover
- tasty-hedgehog
- tasty-hspec
ghc-options:
- -rtsopts
- -threaded
- -with-rtsopts=-N
executables:
terradiff:
main: Main.hs
source-dirs: cmd
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- terradiff
- optparse-applicative