on master help sign in
put server.lhs into cabal file
commit8338040243220c86122abc5148ba005790c6cfdc authorGreg Weber <greg@gregweber.info> dateWed 5 Oct 2011, 14:16 (15 years ago) parent1bc4ea4
1 file changed+22−1
wai-websockets/wai-websockets.cabal+22−1
wai-websockets/wai-websockets.cabal+22−1
@@ -8,10 +8,12 @@ Maintainer: michael@snoyman.com
88Homepage: http://github.com/yesodweb/wai
99Category: Web, Yesod
1010Build-Type: Simple
11−Cabal-Version: >=1.6
11+Cabal-Version: >=1.8
1212Stability: Stable
1313Description: This is primarily intended for use with Warp and its settingsIntercept.
1414
15+extra-source-files: client.js, client.html, screen.css
16+
1517Library
1618 Build-Depends: base >= 3 && < 5
1719 , bytestring >= 0.9 && < 0.10
@@ -25,6 +27,25 @@ Library
2527 Exposed-modules: Network.Wai.Handler.WebSockets
2628 ghc-options: -Wall
2729
30+Executable wai-websockets-example
31+ Build-Depends: base >=3 && < 5,
32+ wai-websockets,
33+ websockets,
34+ network-enumerator,
35+ warp,
36+ wai,
37+ wai-app-static,
38+ bytestring,
39+ case-insensitive,
40+ blaze-builder,
41+ enumerator,
42+ transformers,
43+ network,
44+ text
45+
46+ ghc-options: -Wall -O2 -threaded
47+ main-is: server.lhs
48+
2849source-repository head
2950 type: git
3051 location: git://github.com/yesodweb/wai.git