on master help sign in
Simple .cabal file, adding the QC tests as a test-suite
commit3d4f8eef4655a65b635c9cb7b052386c62768ba4 authorLennart Kolmodin <kolmodin@gentoo.org> dateTue 17 Aug 2010, 23:36 (16 years ago) parent7cca4df
1 file changed+35
binary-bits.cabal+35
binary-bits.cabalnew file+35
@@ -0,0 +1,35 @@
1+-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
2+name: binary-bits
3+version: 0.1
4+synopsis: Bit parsing on top of binary.
5+description: Bit parsing on top of binary. Provides functions to
6+ read parts of 8/16/32/64 words.
7+license: BSD3
8+license-file: LICENSE
9+author: Lennart Kolmodin <kolmodin@gentoo.org>
10+maintainer: Lennart Kolmodin <kolmodin@gentoo.org>
11+-- copyright:
12+category: Data
13+build-type: Simple
14+-- Extra files to be distributed with the package, such as examples or
15+-- a README.
16+-- extra-source-files:
17+
18+-- Constraint on the version of Cabal needed to build this package.
19+cabal-version: >=1.8
20+
21+
22+library
23+ exposed-modules: Bits
24+
25+ build-depends: base==4.*, binary, bytestring
26+ -- other-modules:
27+ -- build-tools:
28+
29+test-suite qc
30+ type: exitcode-stdio-1.0
31+ main-is: BitsQC.hs
32+
33+ build-depends: binary-bits,
34+ base==4.*, binary, bytestring,
35+ QuickCheck>=2, random