@@ -18,6 +18,10 @@ Source-Repository head
18 Location: https://github.com/haskell-distributed/distributed-process
18 Location: https://github.com/haskell-distributed/distributed-process
19 SubDir: distributed-process-azure
19 SubDir: distributed-process-azure
22+ description: Build the demos
22 Build-Depends: base >= 4.4 && < 5,
26 Build-Depends: base >= 4.4 && < 5,
23 azure-service-api >= 0.1 && < 0.2,
27 azure-service-api >= 0.1 && < 0.2,
@@ -42,11 +46,26 @@ Library
42 ghc-options: -Wall
46 ghc-options: -Wall
43 HS-Source-Dirs: src
47 HS-Source-Dirs: src
45−Executable cloud-haskell-azure
49+Executable cloud-haskell-azure-ping
46− Main-Is: src/Control/Distributed/Process/Backend/Azure/CommandLine.hs
50+ if flag(build-demos)
51+ Build-Depends: base >= 4.4 && < 5,
52+ distributed-process-azure >= 0.1 && < 0.2,
53+ distributed-process >= 0.2 && < 0.3,
54+ transformers >= 0.3 && < 0.4,
55+ bytestring >= 0.9 && < 0.11,
56+ binary >= 0.5 && < 0.6
59+ Main-Is: demos/Ping.hs
61+Executable cloud-haskell-azure-conway
47− Build-Depends: base >= 4.4 && < 5,
63+ Build-Depends: base >= 4.4 && < 5,
48 distributed-process-azure >= 0.1 && < 0.2,
64 distributed-process-azure >= 0.1 && < 0.2,
49 distributed-process >= 0.2 && < 0.3,
65 distributed-process >= 0.2 && < 0.3,
50 transformers >= 0.3 && < 0.4,
66 transformers >= 0.3 && < 0.4,
51 bytestring >= 0.9 && < 0.11,
67 bytestring >= 0.9 && < 0.11,
52 binary >= 0.5 && < 0.6
68 binary >= 0.5 && < 0.6
71+ Main-Is: demos/Conway.hs