diff options
Diffstat (limited to 'bencoding.cabal')
-rw-r--r-- | bencoding.cabal | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/bencoding.cabal b/bencoding.cabal new file mode 100644 index 0000000..d4d9f16 --- /dev/null +++ b/bencoding.cabal | |||
@@ -0,0 +1,76 @@ | |||
1 | name: bencoding | ||
2 | version: 0.1.0.0 | ||
3 | synopsis: | ||
4 | description: | ||
5 | license: MIT | ||
6 | license-file: LICENSE | ||
7 | author: Sam T. | ||
8 | maintainer: Sam T. <pxqr.sta@gmail.com> | ||
9 | copyright: (c) 2013, Sam T. | ||
10 | category: Codec, Data | ||
11 | build-type: Simple | ||
12 | cabal-version: >= 1.8 | ||
13 | |||
14 | source-repository head | ||
15 | type: git | ||
16 | location: https://github.com/fmap/bencoding.git | ||
17 | |||
18 | |||
19 | library | ||
20 | exposed-modules: Data.BEncode | ||
21 | other-modules: | ||
22 | build-depends: base == 4.5.* | ||
23 | , containers >= 0.4.0 | ||
24 | , bytestring >= 0.10.2.0 | ||
25 | , attoparsec >= 0.10.4.0 | ||
26 | , ansi-wl-pprint | ||
27 | |||
28 | hs-source-dirs: src | ||
29 | |||
30 | ghc-options: -Wall -fno-warn-unused-do-bind -Werror | ||
31 | |||
32 | executable pp | ||
33 | main-is: pp.hs | ||
34 | build-depends: base == 4.5.* | ||
35 | , bytestring >= 0.10.2.0 | ||
36 | , bencoding >= 0.1.0.0 | ||
37 | |||
38 | hs-source-dirs: pp | ||
39 | ghc-options: -Wall -Werror -O2 | ||
40 | |||
41 | test-suite properties | ||
42 | type: exitcode-stdio-1.0 | ||
43 | main-is: properties.hs | ||
44 | hs-source-dirs: tests | ||
45 | |||
46 | build-depends: base == 4.5.* | ||
47 | , containers >= 0.4.0 | ||
48 | , bytestring >= 0.10.2.0 | ||
49 | , attoparsec >= 0.10.4.0 | ||
50 | , ansi-wl-pprint | ||
51 | |||
52 | , test-framework | ||
53 | , test-framework-quickcheck2 | ||
54 | , QuickCheck | ||
55 | , bencoding >= 0.1.0.0 | ||
56 | |||
57 | ghc-options: -Wall -fno-warn-orphans | ||
58 | |||
59 | |||
60 | benchmark bench-comparison | ||
61 | type: exitcode-stdio-1.0 | ||
62 | main-is: Main.hs | ||
63 | hs-source-dirs: bench | ||
64 | |||
65 | build-depends: base == 4.5.* | ||
66 | , attoparsec >= 0.10.4.0 | ||
67 | , bytestring >= 0.10.2.0 | ||
68 | |||
69 | , criterion | ||
70 | , deepseq | ||
71 | |||
72 | , bencoding >= 0.1.0.0 | ||
73 | , bencode >= 0.5 | ||
74 | , AttoBencode >= 0.2.0.1 | ||
75 | |||
76 | ghc-options: -O2 -Wall -fno-warn-orphans | ||