@@ -10,21 +10,30 @@ Category: Web
1010Build-type: Simple
1111Cabal-version: >=1.2
1212
13+flag example
14+
15+-- TODO: Library interface
16+
1317Executable wai-eventsource
18+ if flag(example)
19+ buildable: True
20+ else
21+ buildable: False
22+
1423 hs-source-dirs: src
1524 main-is: Main.hs
1625
1726 Build-depends:
18− base >= 4.3 && < 5
27+ base >= 4.3 && < 5
1928 , bytestring >= 0.9.1.4 && < 0.10
20− , blaze-builder >= 0.3 && < 0.4
29+ , blaze-builder >= 0.3 && < 0.4
2130 , MonadCatchIO-transformers >= 0.2.1 && < 0.3
22− , mtl >= 2 && < 3
23− , http-types >= 0.6 && < 0.7
24− , enumerator >= 0.4.8 && < 0.5
25− , time >= 1.2 && < 1.4
26− , wai >= 0.4
27− , warp >= 0.4
31+ , mtl >= 2 && < 3
32+ , http-types >= 0.6 && < 0.7
33+ , enumerator >= 0.4.8 && < 0.5
34+ , time >= 1.2 && < 1.4
35+ , wai >= 0.4
36+ , warp >= 0.4
2837
2938 if impl(ghc >= 6.12.0)
3039 ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields