stylistic change in cabal file.

This commit is contained in:
Vincent Hanquez 2011-02-20 17:35:09 +00:00
parent c6154ae126
commit cffafdb421

View file

@ -30,16 +30,16 @@ Flag executable
Default: False Default: False
Library Library
Build-Depends: base >= 3 && < 7, Build-Depends: base >= 3 && < 5
mtl, , mtl
cryptohash >= 0.6, , cryptohash >= 0.6
binary >= 0.5, , binary >= 0.5
cereal >= 0.3, , cereal >= 0.3
bytestring, , bytestring
vector, , vector
crypto-api >= 0.5, , crypto-api >= 0.5
cryptocipher >= 0.2.5, , cryptocipher >= 0.2.5
certificate >= 0.6 && < 0.7 , certificate >= 0.6 && < 0.7
Exposed-modules: Network.TLS.Client Exposed-modules: Network.TLS.Client
Network.TLS.Server Network.TLS.Server
Network.TLS.Struct Network.TLS.Struct
@ -60,7 +60,8 @@ Library
Executable stunnel Executable stunnel
Main-is: Stunnel.hs Main-is: Stunnel.hs
if flag(executable) if flag(executable)
Build-Depends: network, cmdargs Build-Depends: network
, cmdargs
Buildable: True Buildable: True
else else
Buildable: False Buildable: False
@ -70,7 +71,10 @@ executable Tests
Main-is: Tests.hs Main-is: Tests.hs
if flag(test) if flag(test)
Buildable: True Buildable: True
Build-Depends: base >= 3 && < 7, HUnit, QuickCheck >= 2, bytestring Build-Depends: base >= 3 && < 5
, HUnit
, QuickCheck >= 2
, bytestring
else else
Buildable: False Buildable: False