Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 111 lines (92 sloc) 2.169 kB
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
1 name: event
2 version: 0.1
3 synopsis: Scalable event notification
1f2d341 @tibbe Initial import
tibbe authored
4 description:
5 Scalable event notification for file handles, sockets, timers, etc.
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
6 license: BSD3
7 license-file: LICENSE
8 author: Bryan O'Sullivan <bos@serpentine.com>
9 Johan Tibell <johan.tibell@gmail.com>
10 maintainer: Johan Tibell <johan.tibell@gmail.com>
11 category: System
12
78788da @bsl Added Array.hs tests
bsl authored
13 build-type: Custom
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
14 cabal-version: >= 1.6
1f2d341 @tibbe Initial import
tibbe authored
15
a8da04f @gregorycollins Checkpoint: add test framework support
authored
16 flag test
17 description: Build test program.
18 default: False
19
1f2d341 @tibbe Initial import
tibbe authored
20 library
21 exposed-modules:
69709dc @tibbe Added a Cabal file
tibbe authored
22 System.Event
23
24 other-modules:
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
25 System.Event.Array
26 System.Event.Internal
69709dc @tibbe Added a Cabal file
tibbe authored
27 System.Event.Vector
a8da04f @gregorycollins Checkpoint: add test framework support
authored
28 System.Event.TimeoutTable
29 System.Event.TimeoutTable.Internal
1f2d341 @tibbe Initial import
tibbe authored
30
31 build-depends:
69709dc @tibbe Added a Cabal file
tibbe authored
32 array,
33 base < 4.1,
5ba2f35 @tibbe Use IntMap instead of Vector for callbacks
tibbe authored
34 containers == 0.2.*,
69709dc @tibbe Added a Cabal file
tibbe authored
35 ghc-prim,
a8da04f @gregorycollins Checkpoint: add test framework support
authored
36 old-locale,
37 time < 1.2,
69709dc @tibbe Added a Cabal file
tibbe authored
38 unix
1f2d341 @tibbe Initial import
tibbe authored
39
9c3a288 @tibbe Added conditional compilation of backends
tibbe authored
40 if os(darwin)
41 other-modules:
42 System.Event.KQueue
43 cpp-options: -DBACKEND_KQUEUE
20912d7 @bsl Added more epoll basics
bsl authored
44 else
45 if os(linux)
46 other-modules:
47 System.Event.EPoll
48 cpp-options: -DBACKEND_EPOLL
9c3a288 @tibbe Added conditional compilation of backends
tibbe authored
49
50 extensions:
51 CPP,
52 ExistentialQuantification,
53 ForeignFunctionInterface,
54 MagicHash,
55 UnboxedTuples
56
69709dc @tibbe Added a Cabal file
tibbe authored
57 ghc-options: -Wall -funbox-strict-fields
1f2d341 @tibbe Initial import
tibbe authored
58 if impl(ghc >= 6.8)
59 ghc-options: -fwarn-tabs
60
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
61 hs-source-dirs:
62 src
63
a8da04f @gregorycollins Checkpoint: add test framework support
authored
64
65 Executable test
66 hs-source-dirs: src, tests
67 main-is: RunTests.hs
68
69 build-depends:
70 array,
71 base < 4.1,
72 containers == 0.2.*,
73 ghc-prim,
74 HUnit < 1.3,
75 old-locale,
d00ee1a @gregorycollins Checkpoint: first tests for TimeoutTable
authored
76 QuickCheck == 1.2.0.0,
a8da04f @gregorycollins Checkpoint: add test framework support
authored
77 test-framework < 0.3,
78 test-framework-hunit < 0.3,
d00ee1a @gregorycollins Checkpoint: first tests for TimeoutTable
authored
79 test-framework-quickcheck < 0.3,
a8da04f @gregorycollins Checkpoint: add test framework support
authored
80 time < 1.2,
81 unix
82
83 if os(darwin)
84 other-modules:
85 System.Event.KQueue
86 cpp-options: -DBACKEND_KQUEUE
87 else
88 if os(linux)
89 other-modules:
90 System.Event.EPoll
91 cpp-options: -DBACKEND_EPOLL
92
93 extensions:
94 CPP,
95 ExistentialQuantification,
96 ForeignFunctionInterface,
97 MagicHash,
98 UnboxedTuples
99
b1d6d97 @gregorycollins Checkpoint: 100% test coverage for TimeoutTable
authored
100 ghc-options: -Wall -funbox-strict-fields -fhpc
a8da04f @gregorycollins Checkpoint: add test framework support
authored
101 if impl(ghc >= 6.8)
102 ghc-options: -fwarn-tabs
103
104 if !flag(test)
105 buildable: False
106
107
8e80a19 @bsl Made small improvements to event.cabal
bsl authored
108 source-repository head
109 type: git
110 location: git://github.com/tibbe/event.git
Something went wrong with that request. Please try again.