File: Test.cabal

package info (click to toggle)
haskell-mode 17.5-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,596 kB
  • sloc: lisp: 21,482; makefile: 104; sh: 59; objc: 13
file content (74 lines) | stat: -rw-r--r-- 2,095 bytes parent folder | download | duplicates (5)
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
Name:               Test
Version:            2999.18.0.1
Stability:          Beta
Synopsis:           Testing haskell-mode
Description: {
  This is test .cabal file
}

Build-Type:         Simple
Tested-With:        GHC == 7.10.2
Cabal-Version:      >= 1.14
Extra-Source-Files: TODO.md
                    Changelog.md
                    README.md
                    FAQ.md
                    utils/AttributeGenerator.hs

Source-Repository head
    Type:         git
    Location:     git://github.com/haskell-mode

Flag some-flag
     Description: This is a flag
     Default:     False

Library
        Default-Language:  Haskell2010

        Build-Depends:     base == 4.*,
                           containers,
                           process,
                           directory,
        Exposed-Modules:   Some.Module
        Other-Modules:     Some.Other.Module
        Ghc-Options: -Wall


Test-Suite test-1 {
        Default-Language:  Haskell2010
        Type:              exitcode-stdio-1.0
        Build-Depends:     base,
                           containers,
                           fgl,
                           fgl-arbitrary == 0.2.*,
                           filepath,
                           text,
                           QuickCheck >= 2.3 && < 2.9
        hs-Source-Dirs:    tests
        Main-Is:           RunTests.hs
        Other-Modules:       Some.Module
        Ghc-Options: -O -Wall
}

Benchmark bench-1 {
        Default-Language: Haskell2010
        Type:             exitcode-stdio-1.0
        Build-Depends:    base,
                          deepseq,
                          text,
                          criterion >= 0.5 && < 1.2
        hs-Source-Dirs:   utils
        Main-Is:          Benchmark.hs
}

Executable bin-1
        Default-Language: Haskell2010
        hs-Source-Dirs:   utils
        Main-Is:          TestParsing.hs
        Build-Depends:    base,
                          bytestring,
                          directory,
                          filepath,
                          text
        Ghc-Options: -O -Wall