-
Notifications
You must be signed in to change notification settings - Fork 7
/
distributed-closure.cabal
89 lines (84 loc) · 2.21 KB
/
distributed-closure.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
name: distributed-closure
version: 0.5.0.0
synopsis: Serializable closures for distributed programming.
description: See README.
homepage: https://github.com/tweag/distributed-closure
license: BSD3
license-file: LICENSE.md
author: Mathieu Boespflug
maintainer: [email protected]
copyright: © Tweag I/O Limited
category: Control
build-type: Simple
extra-source-files: README.md
cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/tweag/distributed-closure
flag dev
description: Turn on development settings.
manual: True
default: False
library
exposed-modules:
Control.Applicative.Static
Control.Comonad.Static
Control.Distributed.Closure
Control.Distributed.Closure.Internal
Control.Distributed.Closure.TH
Control.Monad.Static
Data.Profunctor.Static
Data.Profunctor.Choice.Static
Data.Profunctor.Strong.Static
Data.Functor.Static
build-depends:
base >=4.11 && <5,
binary >= 0.7.5,
bytestring >= 0.10,
constraints >= 0.4,
syb >= 0.5,
template-haskell >= 2.10
hs-source-dirs: src
default-language: Haskell2010
if flag(dev)
ghc-options: -Wall -Werror -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
else
ghc-options: -Wall
test-suite tests
type: exitcode-stdio-1.0
default-language: Haskell2010
hs-source-dirs: tests
main-is: test.hs
build-depends:
base >= 4.8,
binary >= 0.7,
distributed-closure,
hspec >= 2.1,
QuickCheck >= 2.8
if flag(dev)
ghc-options: -Wall -Werror -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
else
ghc-options: -Wall
executable example-client-server
main-is: ClientServer.hs
hs-source-dirs: examples
default-language: Haskell2010
build-depends:
base >= 4.8,
async >= 2.1,
binary >= 0.7,
bytestring >= 0.10,
distributed-closure
if flag(dev)
ghc-options: -Wall -Werror -Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wnoncanonical-monad-instances
else
ghc-options: -Wall