summaryrefslogtreecommitdiff
path: root/ebus.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'ebus.cabal')
-rw-r--r--ebus.cabal30
1 files changed, 11 insertions, 19 deletions
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 <yvesf-haskell@xapek.org>
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