X-Git-Url: http://gitweb.michael.orlitzky.com/?p=haeredes.git;a=blobdiff_plain;f=haeredes.cabal;h=4bfcf04090ffc23c3c41a2f2e49850c2ada84838;hp=c1362992f01694a32edbb5103ba528dd4bf86ac7;hb=020ce4ca32627a92a6ed47922543912a57195377;hpb=c54bdc969cbff73af66a58e02c0b10bca29a36c9 diff --git a/haeredes.cabal b/haeredes.cabal index c136299..4bfcf04 100644 --- a/haeredes.cabal +++ b/haeredes.cabal @@ -5,7 +5,7 @@ author: Michael Orlitzky maintainer: Michael Orlitzky license: AGPL-3 license-file: doc/LICENSE -homepage: http://michael.orlitzky.com/code/haeredes.php +homepage: http://michael.orlitzky.com/code/haeredes.xhtml bug-reports: mailto:michael@orlitzky.com category: DNS, Utils build-type: Simple @@ -85,7 +85,6 @@ executable haeredes cmdargs >= 0.10, dns >= 1.4, iproute >= 1.2, - MissingH >= 1.2, parallel-io >= 0.3 main-is: @@ -98,19 +97,19 @@ executable haeredes CommandLine DNS ExitCodes + -- WARNING: the Paths_haeredes module is automatically generated by + -- Cabal itself. We don't want it included in the release tarballs, + -- since we typically want the paths that the user has configured. + -- Nevertheless, Cabal will complain if we don't include it here. + Paths_haeredes Timeout ghc-options: - -Wall - -fwarn-hi-shadowing - -fwarn-missing-signatures - -fwarn-name-shadowing - -fwarn-orphans - -fwarn-type-defaults - -fwarn-tabs - -fwarn-incomplete-record-updates - -fwarn-monomorphism-restriction - -fwarn-unused-do-bind + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -optc-O3 @@ -129,22 +128,47 @@ test-suite doctests -- It's not entirely clear to me why I have to reproduce all of this. ghc-options: - -Wall - -fwarn-hi-shadowing - -fwarn-missing-signatures - -fwarn-name-shadowing - -fwarn-orphans - -fwarn-type-defaults - -fwarn-tabs - -fwarn-incomplete-record-updates - -fwarn-monomorphism-restriction - -fwarn-unused-do-bind + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations -rtsopts -threaded -optc-O3 -optc-march=native + +-- These won't work without shelltestrunner installed in your +-- $PATH. Maybe there is some way to tell Cabal that. +test-suite shelltests + type: exitcode-stdio-1.0 + hs-source-dirs: test + main-is: ShellTests.hs + + build-depends: + base == 4.*, + bytestring >= 0.10, + cmdargs >= 0.10, + dns >= 1.4, + iproute >= 1.2, + parallel-io >= 0.3, + process >= 1.1 + + -- It's not entirely clear to me why I have to reproduce all of this. + ghc-options: + -Weverything + -Wno-implicit-prelude + -Wno-safe + -Wno-unsafe + -Wno-all-missed-specialisations + -rtsopts + -threaded + -optc-O3 + -optc-march=native + + source-repository head type: git - location: http://michael.orlitzky.com/git/haeredes.git + location: http://gitweb.michael.orlitzky.com/haeredes.git branch: master