X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dns.cabal;h=0702a10aa82063909a6b610573e8cad797311428;hb=caf521ccd3edd8a9f042d1aa8a097b98cf40c1da;hp=93ab364dcb5666720c29f7e5269d26a53602061f;hpb=2778374186c39d8f30347a1f943708efd22f7d29;p=haskell-dns.git diff --git a/dns.cabal b/dns.cabal index 93ab364..0702a10 100644 --- a/dns.cabal +++ b/dns.cabal @@ -9,13 +9,50 @@ Maintainer: PHO Stability: Experimental Cabal-Version: >= 1.2 Build-Type: Simple +Extra-Source-Files: + DNSUnitTest.hs + +Flag build-test-suite + Description: Build the test suite. + Default: False Library Build-Depends: - base, binary + base, binary, binary-strict, bytestring, containers, network Exposed-Modules: Network.DNS.Message + Network.DNS.Packer + Network.DNS.Unpacker + + Extensions: + DeriveDataTypeable, ExistentialQuantification, + FlexibleInstances, FunctionalDependencies, + MultiParamTypeClasses, ScopedTypeVariables, + TypeSynonymInstances, UndecidableInstances, + IncoherentInstances + + GHC-Options: + -Wall + +Executable DNSUnitTest + if flag(build-test-suite) + Buildable: True + else + Buildable: False + + Build-Depends: + HUnit + + Main-Is: + DNSUnitTest.hs + + Extensions: + DeriveDataTypeable, ExistentialQuantification, + FlexibleInstances, FunctionalDependencies, + MultiParamTypeClasses, ScopedTypeVariables, + TypeSynonymInstances, UndecidableInstances, + IncoherentInstances GHC-Options: -Wall