]> gitweb.michael.orlitzky.com - hath.git/blobdiff - hath.cabal
hath.cabal: require at least cabal-1.10 (new Hackage requirement).
[hath.git] / hath.cabal
index 2fd9e6cd3a29db5eb6671d0947e1f822a1e05ecf..8660a81b41c289100ab61bdc56b3d2932e8f7ba1 100644 (file)
@@ -1,6 +1,6 @@
 name:           hath
-version:        0.4.0
-cabal-version:  >= 1.8
+version:        0.5.1
+cabal-version:  >= 1.10
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
 homepage:       http://michael.orlitzky.com/code/hath.xhtml
@@ -103,56 +103,38 @@ executable hath
     Maskable
     Maskbits
     Octet
+    Paths_hath
 
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.15,
     cmdargs                     >= 0.10,
     split                       >= 0.2,
     tasty                       >= 0.8,
     tasty-hunit                 >= 0.8,
     tasty-quickcheck            >= 0.8.1
 
-  ghc-options:
-    -Weverything
-    -Wno-implicit-prelude
-    -Wno-safe
-    -Wno-unsafe
-    -Wno-all-missed-specialisations
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
-    -O2
-
 
 test-suite testsuite
   type: exitcode-stdio-1.0
   hs-source-dirs: src test
   main-is: TestSuite.hs
 
+  other-modules:
+    Bit
+    Cidr
+    IPv4Address
+    Maskable
+    Maskbits
+    Octet
+
   build-depends:
-    base                        == 4.*,
-    cmdargs                     >= 0.10,
+    base                        >= 4.15,
     split                       >= 0.2,
     tasty                       >= 0.8,
     tasty-hunit                 >= 0.8,
     tasty-quickcheck            >= 0.8.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
-    -O2
-
-
 -- These won't work without shelltestrunner installed in your
 -- $PATH. Maybe there is some way to tell Cabal that.
 test-suite shelltests
@@ -161,32 +143,9 @@ test-suite shelltests
   main-is: ShellTests.hs
 
   build-depends:
-    base                        == 4.*,
-    cmdargs                     >= 0.10,
-    MissingH                    >= 1.2,
-    process                     >= 1.1,
-    split                       >= 0.2,
-    tasty                       >= 0.8,
-    tasty-hunit                 >= 0.8,
-    tasty-quickcheck            >= 0.8.1
+    base                        >= 4.15,
+    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
-    -rtsopts
-    -threaded
-    -optc-O3
-    -optc-march=native
-    -O2
 
 source-repository head
   type: git