]> gitweb.michael.orlitzky.com - hath.git/blobdiff - hath.cabal
Add some more tests; minor code cleanup.
[hath.git] / hath.cabal
index e0d16a1f50acab6722c743658e3026e64b9053ad..b11ea39d3a69bbe57fab5f9af9d0ffffc0729fc2 100644 (file)
@@ -1,11 +1,14 @@
 name:           hath
-version:        0.0.1
+version:        0.0.4
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
+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:
@@ -56,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.*,
@@ -73,6 +80,17 @@ executable hath
   hs-source-dirs:
     src/
 
+  other-modules:
+    Bit
+    Cidr
+    CommandLine
+    DNS
+    ExitCodes
+    IPv4Address
+    Maskable
+    Maskbits
+    Octet
+
   ghc-options:
     -Wall
     -fwarn-hi-shadowing
@@ -101,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.*,