on master help sign in
move testing build-deps under buildable conditional
f872562aslatter
uuid.cabal+12−8
@@ -45,20 +45,24 @@ Library
45Executable benchuuid
45Executable benchuuid
46 Main-Is: BenchUUID.hs
46 Main-Is: BenchUUID.hs
47 HS-Source-Dirs: tests .
47 HS-Source-Dirs: tests .
48− Build-Depends: random, binary, bytestring, Crypto, maccatcher,
49− time, base >=3, base < 5,
50− criterion >= 0.3 && < 0.4, parallel >= 2.1 && < 2.3
51 Extensions: DeriveDataTypeable
48 Extensions: DeriveDataTypeable
52− If !flag(test)
49+ If flag(test)
50+ Buildable: True
51+ Build-Depends: random, binary, bytestring, Crypto, maccatcher,
52+ time, base >=3, base < 5,
53+ criterion >= 0.3 && < 0.4, parallel >= 2.1 && < 2.3
54+ Else
53 Buildable: False
55 Buildable: False
54
56
55Executable testuuid
57Executable testuuid
56 Main-Is: TestUUID.hs
58 Main-Is: TestUUID.hs
57 HS-Source-Dirs: tests .
59 HS-Source-Dirs: tests .
58− Build-Depends: random, binary, bytestring, Crypto, maccatcher,
59− time, base >=3, base < 5,
60− HUnit >=1.2 && < 1.3, QuickCheck >=1.2 && < 1.3
61 Extensions: DeriveDataTypeable
60 Extensions: DeriveDataTypeable
62− If !flag(test)
61+ If flag(test)
62+ Buildable: True
63+ Build-Depends: random, binary, bytestring, Crypto, maccatcher,
64+ time, base >=3, base < 5,
65+ HUnit >=1.2 && < 1.3, QuickCheck >=1.2 && < 1.3
66+ Else
63 Buildable: False
67 Buildable: False
64
68