-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsmartcheck.cabal
78 lines (69 loc) · 2.47 KB
/
smartcheck.cabal
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
75
76
77
78
Name: smartcheck
Version: 0.2.4
Synopsis: A smarter QuickCheck.
Homepage: https://github.com/leepike/SmartCheck
Description: See the README.md: fast, small shrinking and generalization of failing test-cases from QuickCheck.
License: BSD3
License-file: LICENSE.md
Author: Lee Pike
Maintainer: [email protected]
Copyright: copyright, Lee Pike 2012.
Category: Testing
Build-type: Simple
Extra-source-files:
Cabal-version: >=1.10
source-repository head
type: git
location: https://github.com/leepike/SmartCheck.git
flag regression-flag
default: False
description: add libraries for regression testing
Library
Exposed-modules: Test.SmartCheck,
Test.SmartCheck.Args,
Test.SmartCheck.ConstructorGen,
Test.SmartCheck.DataToTree,
Test.SmartCheck.Extrapolate,
Test.SmartCheck.Matches,
Test.SmartCheck.Reduce,
Test.SmartCheck.Render,
Test.SmartCheck.SmartGen,
Test.SmartCheck.Test,
Test.SmartCheck.Types
if flag(regression-flag)
Build-depends: base >= 4.0 && < 5,
QuickCheck == 2.8.2,
mtl,
random >= 1.0.1.1,
containers >= 0.4,
generic-deriving >= 1.2.1,
ghc-prim,
lazysmallcheck
else
Build-depends: base >= 4.0 && < 5,
QuickCheck == 2.8.2,
mtl,
random >= 1.0.1.1,
containers >= 0.4,
generic-deriving >= 1.2.1,
ghc-prim
default-language: Haskell2010
hs-source-dirs: src
ghc-options:
-Wall
-fwarn-tabs
-fno-warn-orphans
-- QuickCheck some basic properties about SmartCheck.
executable sc-qc
Hs-source-dirs: qc-tests
Main-is: Tests.hs
Build-depends: base >= 4.0 && < 5,
smartcheck,
QuickCheck == 2.8.2,
mtl,
random >= 1.0.1.1,
containers >= 0.4,
generic-deriving >= 1.2.1,
ghc-prim
Default-language: Haskell2010
Ghc-options: -Wall