@@ -13,14 +13,14 @@ maintainer: Bryan O'Sullivan <bos@serpentine.com>
13category: Text
13category: Text
14build-type: Simple
14build-type: Simple
16−cabal-version: >=1.2
16+cabal-version: >=1.8
19 description: Enable HPC to generate coverage reports
19 description: Enable HPC to generate coverage reports
20 default: False
20 default: False
22executable text-tests
22executable text-tests
23− hs-source-dirs: src ../..
23+ hs-source-dirs: src
24 main-is: Data/Text/Tests.hs
24 main-is: Data/Text/Tests.hs
26 ghc-options:
26 ghc-options:
@@ -28,7 +28,6 @@ executable text-tests
31− -- Optional HPC support
32 if flag(hpc)
31 if flag(hpc)
33 ghc-options:
32 ghc-options:
@@ -38,6 +37,7 @@ executable text-tests
38 -DHAVE_DEEPSEQ
37 -DHAVE_DEEPSEQ
40 build-depends:
39 build-depends:
41 base >= 4 && < 5,
41 base >= 4 && < 5,
42 bytestring >= 0.9 && < 0.10,
42 bytestring >= 0.9 && < 0.10,
43 deepseq >= 1.1 && < 1.2,
43 deepseq >= 1.1 && < 1.2,
@@ -50,7 +50,7 @@ executable text-tests
50 test-framework-hunit >= 0.2 && < 0.3
50 test-framework-hunit >= 0.2 && < 0.3
52executable text-tests-stdio
52executable text-tests-stdio
53− hs-source-dirs: src ../..
53+ hs-source-dirs: src
54 main-is: Data/Text/Tests/IO.hs
54 main-is: Data/Text/Tests/IO.hs
56 ghc-options:
56 ghc-options:
@@ -63,4 +63,63 @@ executable text-tests-stdio
65 build-depends:
65 build-depends:
66 base >= 4 && < 5
67 base >= 4 && < 5
70+ hs-source-dirs: ../..
75+ Data.Text.Encoding.Error
80+ Data.Text.Lazy.Builder
81+ Data.Text.Lazy.Builder.Int
82+ Data.Text.Lazy.Builder.RealFloat
83+ Data.Text.Lazy.Encoding
85+ Data.Text.Lazy.Internal
88+ Data.Text.Encoding.Fusion
89+ Data.Text.Encoding.Fusion.Common
90+ Data.Text.Encoding.Utf16
91+ Data.Text.Encoding.Utf32
92+ Data.Text.Encoding.Utf8
94+ Data.Text.Fusion.CaseMapping
95+ Data.Text.Fusion.Common
96+ Data.Text.Fusion.Internal
97+ Data.Text.Fusion.Size
98+ Data.Text.IO.Internal
99+ Data.Text.Lazy.Builder.Functions
100+ Data.Text.Lazy.Builder.RealFloat.Functions
101+ Data.Text.Lazy.Encoding.Fusion
102+ Data.Text.Lazy.Fusion
103+ Data.Text.Lazy.Search
106+ Data.Text.UnsafeChar
107+ Data.Text.UnsafeShift
122+ bytestring >= 0.9 && < 1.0,
123+ deepseq >= 1.1 && < 1.2,
124+ integer-gmp >= 0.2 && < 0.3,
125+ ghc-prim >= 0.2 && < 0.3