diff options
author | Sam T <pxqr.sta@gmail.com> | 2013-06-02 07:10:46 +0400 |
---|---|---|
committer | Sam T <pxqr.sta@gmail.com> | 2013-06-02 07:10:46 +0400 |
commit | f2f3760eb515cd73be2aa25cb7177319c3af220d (patch) | |
tree | cc0e6630f9ce59bdb1202c2e6b08ec7b2947907c /bencoding.cabal | |
parent | cae6c9928e2007ff26cc75bdcdcf91c71747b070 (diff) |
~ Add extra source files section.
Diffstat (limited to 'bencoding.cabal')
-rw-r--r-- | bencoding.cabal | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/bencoding.cabal b/bencoding.cabal index e3d6639..5022352 100644 --- a/bencoding.cabal +++ b/bencoding.cabal | |||
@@ -13,6 +13,8 @@ category: Codec, Data | |||
13 | build-type: Simple | 13 | build-type: Simple |
14 | cabal-version: >= 1.8 | 14 | cabal-version: >= 1.8 |
15 | 15 | ||
16 | extra-source-files: README.md .travis.yml | ||
17 | |||
16 | source-repository head | 18 | source-repository head |
17 | type: git | 19 | type: git |
18 | location: https://github.com/pxqr/bencoding.git | 20 | location: https://github.com/pxqr/bencoding.git |
@@ -20,9 +22,6 @@ source-repository head | |||
20 | 22 | ||
21 | library | 23 | library |
22 | exposed-modules: Data.BEncode | 24 | exposed-modules: Data.BEncode |
23 | other-modules: | ||
24 | |||
25 | -- WARN package text is used only for instance declaration | ||
26 | build-depends: base == 4.* | 25 | build-depends: base == 4.* |
27 | , containers >= 0.4 | 26 | , containers >= 0.4 |
28 | , bytestring >= 0.10.2.0 | 27 | , bytestring >= 0.10.2.0 |
@@ -31,20 +30,18 @@ library | |||
31 | , pretty | 30 | , pretty |
32 | 31 | ||
33 | hs-source-dirs: src | 32 | hs-source-dirs: src |
34 | |||
35 | extensions: PatternGuards | 33 | extensions: PatternGuards |
36 | ghc-options: -Wall -fno-warn-unused-do-bind | 34 | ghc-options: -Wall -fno-warn-unused-do-bind |
37 | -- -Werror | 35 | |
38 | 36 | ||
39 | executable pp | 37 | executable pp |
40 | main-is: pp.hs | 38 | main-is: pp.hs |
41 | build-depends: base == 4.* | 39 | build-depends: base == 4.* |
42 | , bytestring | 40 | , bytestring |
43 | , bencoding | 41 | , bencoding |
44 | |||
45 | hs-source-dirs: pp | 42 | hs-source-dirs: pp |
46 | ghc-options: -Wall -O2 | 43 | ghc-options: -Wall -O2 |
47 | -- -Werror | 44 | |
48 | 45 | ||
49 | test-suite properties | 46 | test-suite properties |
50 | type: exitcode-stdio-1.0 | 47 | type: exitcode-stdio-1.0 |