From 61517df00b34bb1b985705092de5e81d13fb59c9 Mon Sep 17 00:00:00 2001 From: Yves Fischer Date: Sat, 17 Mar 2012 22:39:10 +0100 Subject: tests && executables --- ebus.cabal | 30 +++++++++++------------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'ebus.cabal') diff --git a/ebus.cabal b/ebus.cabal index 0a160f7..4b05a48 100644 --- a/ebus.cabal +++ b/ebus.cabal @@ -10,7 +10,7 @@ Category: Network Maintainer: Yves Fischer Build-Type: Simple Homepage: http://www.example.com -Cabal-Version: >=1.2 +Cabal-Version: >=1.9.2 -- Extra-source-files: examples/ExampleConsumer.hs, @@ -22,26 +22,18 @@ Cabal-Version: >=1.2 -- branch: master Library - Build-Depends: base >=4 && < 5, attoparsec >= 0.10.1.1, bytestring - GHC-Options: -Wall + Build-Depends: base >=4 && < 5, attoparsec >= 0.10.1.1, attoparsec-enumerator >= 0.3, bytestring, enumerator >= 0.4.18 +-- GHC-Options: -Wall Exposed-modules: Network.EBus.Layer2 -- Other-modules: Network.AMQP.Generated, Network.AMQP.Helpers, Network.AMQP.Protocol --- Executable test-binary-protocol-zmq --- Main-Is: Test.hs +Test-Suite test-network-ebus + type: exitcode-stdio-1.0 + main-is: Test.hs + build-depends: base, test-framework >= 0.6, test-framework-hunit >= 0.2.7, ebus, + bytestring, attoparsec >= 0.10.1.1, attoparsec-enumerator >= 0.3, enumerator >= 0.4.18 --- if !flag(tests) --- Buildable: False --- else --- Build-Depends: --- base >= 4 && < 5, --- test-framework, --- test-framework-hunit, --- HUnit --- Other-Modules: --- Control.Monad.BinaryProtocol.ZMQ - --- GHC-Options: -Wall -fno-warn-unused-binds -threaded --- if flag(optimize) --- GHC-Options: -funbox-strict-fields -O2 -fspec-constr -fdicts-cheap \ No newline at end of file +Executable ebus-dump-layer2 + Main-Is: exec/ebus-dump-layer2.hs + Build-Depends: base >=4 && < 5, ebus -- cgit v1.2.1