git.iko.soy/distributed-process
on master help sign in
Fix .cabal file (test didn't build)
commitd6a40f5ec8ba97ffa6ddbc17a90015cc55711ef4 authorEdsko de Vries <edsko@edsko.net> dateMon 22 Oct 2012, 09:50 (14 years ago) parent98b996e
2 files changed+26−16
distributed-process-simplelocalnet/ChangeLog+4 distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal+22−16
distributed-process-simplelocalnet/ChangeLog+4
@@ -1,3 +1,7 @@
1+<<date>> Edsko de Vries <edsko@well-typed.com> 0.2.0.7
2+
3+* Fix cabal script so that the example program compiles
4+
152012-10-03 Edsko de Vries <edsko@well-typed.com> 0.2.0.6
26
37* Use new version of network-transport
distributed-process-simplelocalnet/distributed-process-simplelocalnet.cabal+22−16
@@ -1,5 +1,5 @@
11Name: distributed-process-simplelocalnet
2−Version: 0.2.0.6
2+Version: 0.2.0.7
33Cabal-Version: >=1.8
44Build-Type: Simple
55License: BSD3
@@ -23,6 +23,10 @@ Source-Repository head
2323 Location: https://github.com/haskell-distributed/distributed-process
2424 SubDir: distributed-process-simplelocalnet
2525
26+Flag build-example
27+ Default: False
28+ Description: Build a simple example application
29+
2630Library
2731 Build-Depends: base >= 4.4 && < 5,
2832 bytestring >= 0.9 && < 0.11,
@@ -43,22 +47,24 @@ Library
4347 ghc-options: -Wall
4448 HS-Source-Dirs: src
4549
46−-- Not a proper test, but we want to use cabal to compile it
47−Test-Suite TestSimpleLocalnet
48− Type: exitcode-stdio-1.0
50+Executable TestSimpleLocalnet
4951 Main-Is: TestSimpleLocalnet.hs
50− Build-Depends: base >= 4.4 && < 5,
51− bytestring >= 0.9 && < 0.11,
52− network >= 2.3 && < 2.5,
53− network-multicast >= 0.0 && < 0.1,
54− data-accessor >= 0.2 && < 0.3,
55− binary >= 0.5 && < 0.6,
56− containers >= 0.4 && < 0.6,
57− transformers >= 0.2 && < 0.4,
58− network-transport >= 0.3 && < 0.4,
59− network-transport-tcp >= 0.3 && < 0.4,
60− distributed-process >= 0.2 && < 0.5
52+ If flag(build-example)
53+ Build-Depends: base >= 4.4 && < 5,
54+ bytestring >= 0.9 && < 0.11,
55+ network >= 2.3 && < 2.5,
56+ network-multicast >= 0.0 && < 0.1,
57+ data-accessor >= 0.2 && < 0.3,
58+ binary >= 0.5 && < 0.6,
59+ containers >= 0.4 && < 0.6,
60+ transformers >= 0.2 && < 0.4,
61+ network-transport >= 0.3 && < 0.4,
62+ network-transport-tcp >= 0.3 && < 0.4,
63+ distributed-process >= 0.2 && < 0.5
64+ Else
65+ Buildable: False
6166 Extensions: RankNTypes,
62− DeriveDataTypeable
67+ DeriveDataTypeable,
68+ CPP
6369 ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N -fno-warn-unused-do-bind
6470 HS-Source-Dirs: tests src