/
salvia-demo.cabal
84 lines (74 loc) · 2.83 KB
/
salvia-demo.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
Name: salvia-demo
Version: 1.2.0
Synopsis: Demo Salvia servers.
Description:
This package contains six simple example programs that show how to use the
Salvia web application framework. The first demo, /salvia-demo/, contains a
bigger example showing off some of the more advanced features and handler
running on the default Salvia server implementation. The second demo,
/salvia-cgi/ show how to switch the Salvia back-end and run a Salvia handler
in CGI mode. The third example, /salvia-serve/, is a simple file server that
uses the /c10k-server/ back-end and the /send-file/ package to server static
files and directories. The other demos illustrate how to use some simple
aspects of the web framework.
Category: Network, Web
License: BSD3
License-file: LICENSE
Author: Sebastiaan Visser
Maintainer: haskell@fvisser.nl
Cabal-version: >= 1.6
Build-Type: Simple
Data-Files: www/data/users.db
www/demo.cgi
www/index.ccss
www/index.html
www/login.html
www/signup.html
Library
GHC-Options: -Wall
HS-Source-Dirs: src
Build-Depends: base ==4.*,
transformers < 0.3,
monads-fd < 0.2,
threadmanager ==0.1.*,
stm ==2.1.*,
c10k ==0.2.0,
filestore ==0.3.*,
fclabels ==0.9.*,
network >= 2.2.1.7 && < 2.3,
salvia ==1.2.*,
salvia-protocol ==1.1.*,
salvia-extras ==1.2.*,
salvia-sessions ==1.2.*,
salvia-websocket ==1.2.*
Executable salvia-demo
Executable: salvia-demo
CPP-Options: -DCabal
Main-is: Demo.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src
Executable salvia-serve
Executable: salvia-serve
Main-is: ServeDemo.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src
Executable salvia.cgi
Executable: salvia.cgi
Main-is: CgiDemo.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src
Executable salvia-helloworld
Executable: salvia-helloworld
Main-is: HelloWorld.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src
Executable salvia-query
Executable: salvia-query
Main-is: QueryParams.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src
Executable salvia-directories
Executable: salvia-directories
Main-is: DirectoryHandling.hs
GHC-Options: -threaded -Wall -fno-warn-orphans
HS-Source-Dirs: src