]> gitweb.michael.orlitzky.com - hath.git/blobdiff - hath.cabal
Add some more tests; minor code cleanup.
[hath.git] / hath.cabal
index 7799a7e3914251a5311a35ad496bcfbabf9da103..b11ea39d3a69bbe57fab5f9af9d0ffffc0729fc2 100644 (file)
@@ -1,5 +1,5 @@
 name:           hath
-version:        0.0.2
+version:        0.0.4
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -7,6 +7,8 @@ category:       Utils
 license:        GPL-3
 license-file:   doc/LICENSE
 build-type:     Simple
+extra-source-files:
+  doc/man1/hath.1
 synopsis:
   Hath manipulates network blocks in CIDR notation.
 description:
@@ -57,12 +59,16 @@ description:
   $ grep -P `hath regexed -i cidrs.txt` mail.log
   @
 
+
 executable hath
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.6.0,
+    bytestring                  == 0.10.*,
+    dns                         == 0.3.*,
     HUnit                       == 1.2.*,
     QuickCheck                  == 2.6.*,
     MissingH                    == 1.2.*,
+    parallel-io                 == 0.3.*,
     split                       == 0.2.*,
     test-framework              == 0.8.*,
     test-framework-hunit        == 0.3.*,
@@ -78,6 +84,7 @@ executable hath
     Bit
     Cidr
     CommandLine
+    DNS
     ExitCodes
     IPv4Address
     Maskable
@@ -112,10 +119,13 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    base                        == 4.*,
+    base                        >= 4.6.0,
+    bytestring                  == 0.10.*,
+    dns                         == 0.3.*,
     HUnit                       == 1.2.*,
     QuickCheck                  == 2.6.*,
     MissingH                    == 1.2.*,
+    parallel-io                 == 0.3.*,
     split                       == 0.2.*,
     test-framework              == 0.8.*,
     test-framework-hunit        == 0.3.*,