]> gitweb.michael.orlitzky.com - hath.git/blobdiff - hath.cabal
hath.cabal: simplify GHC flags used in the shelltest suite.
[hath.git] / hath.cabal
index bb1a2e88407cd3fd1a04651838315324b1248384..b7c6e215f450d7ba2b1428abaa4b7cbed1f0c8f2 100644 (file)
@@ -1,5 +1,5 @@
 name:           hath
-version:        0.4.1
+version:        0.4.2
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -103,6 +103,7 @@ executable hath
     Maskable
     Maskbits
     Octet
+    Paths_hath
 
   build-depends:
     base                        >= 4.9 && < 5,
@@ -130,6 +131,14 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
 
+  other-modules:
+    Bit
+    Cidr
+    IPv4Address
+    Maskable
+    Maskbits
+    Octet
+
   build-depends:
     base                        == 4.*,
     cmdargs                     >= 0.10,
@@ -162,25 +171,15 @@ test-suite shelltests
 
   build-depends:
     base                        == 4.*,
-    cmdargs                     >= 0.10,
-    process                     >= 1.1,
-    split                       >= 0.2,
-    tasty                       >= 0.8,
-    tasty-hunit                 >= 0.8,
-    tasty-quickcheck            >= 0.8.1
+    process                     >= 1.1
 
   -- 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