]> Git — Sourcephile - haskell/interval.git/blob - interval.cabal
init
[haskell/interval.git] / interval.cabal
1 author: Julien Moutinho <julm+haskell+interval@autogeree.net>
2 -- bug-reports: http://bug.autogeree.net/haskell/interval/
3 build-type: Simple
4 cabal-version: >= 1.8
5 category: Data Structures
6 -- data-dir: data
7 -- data-files:
8 description: Data types to represent, compare and combine intervals with adherences.
9 .
10 See also:
11 .
12 - https://hackage.haskell.org/package/data-interval
13 - https://hackage.haskell.org/package/intervals
14 extra-source-files:
15 stack.yaml
16 extra-tmp-files:
17 -- homepage: http://pad.autogeree.net/informatique/haskell/interval/
18 license: GPL-3
19 license-file: COPYING
20 maintainer: Julien Moutinho <julm+haskell+interval@autogeree.net>
21 name: interval
22 stability: experimental
23 synopsis: Intervals with adherences.
24 tested-with: GHC==7.10.3
25 version: 1.20160821
26
27 source-repository head
28 location: git://git.autogeree.net/haskell/interval
29 type: git
30
31 Flag dev
32 Default: False
33 Description: Turn on development settings.
34 Manual: True
35
36 Flag dump
37 Default: False
38 Description: Dump some intermediate files.
39 Manual: True
40
41 Flag prof
42 Default: False
43 Description: Turn on profiling settings.
44 Manual: True
45
46 Flag threaded
47 Default: False
48 Description: Enable threads.
49 Manual: True
50
51 Library
52 extensions: NoImplicitPrelude
53 ghc-options: -Wall -fno-warn-tabs
54 if flag(dev)
55 cpp-options: -DDEVELOPMENT
56 ghc-options:
57 if flag(dump)
58 ghc-options: -ddump-simpl -ddump-stg -ddump-to-file
59 if flag(prof)
60 cpp-options: -DPROFILING
61 ghc-options: -fprof-auto
62 -- default-language: Haskell2010
63 exposed-modules:
64 Data.Interval
65 Data.Interval.Sieve
66 build-depends:
67 base >= 4.6 && < 5
68 , deepseq
69 , fingertree
70
71 Test-Suite interval-test
72 type: exitcode-stdio-1.0
73 -- default-language: Haskell2010
74 extensions: NoImplicitPrelude
75 ghc-options: -Wall -fno-warn-tabs
76 -main-is Test
77 hs-source-dirs: Data/Interval
78 main-is: Test.hs
79 other-modules:
80 Sieve.Test
81 if flag(threaded)
82 ghc-options: -threaded -rtsopts -with-rtsopts=-N
83 if flag(dev)
84 cpp-options: -DDEVELOPMENT
85 if flag(prof)
86 cpp-options: -DPROFILING
87 ghc-options: -fprof-auto
88 build-depends:
89 base >= 4.6 && < 5
90 , interval
91 , tasty >= 0.11
92 , tasty-hunit