]> gitweb.michael.orlitzky.com - email-validator.git/blobdiff - email-validator.cabal
Use a hyphen instead of an underscore in the program name.
[email-validator.git] / email-validator.cabal
index c5f7ea27060c3bed94c636717822a5844b8a4894..e080aa17789fd00f5105d5b54e472550eae31087 100644 (file)
@@ -3,12 +3,19 @@ version:        0.0.1
 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/email-validator.1
 synopsis:
   Perform basic syntax and deliverability checks on email addresses.
-build-type:     Simple
+description:
+  Perform basic syntax and deliverability checks on email addresses.
 
 
-executable email_validator
+executable email-validator
   build-depends:
     base                        == 4.*,
     bytestring                  == 0.10.*,
@@ -17,11 +24,9 @@ executable email_validator
     dns                         == 0.3.*,
     HUnit                       == 1.2.*,
     parallel-io                 == 0.3.*,
-    QuickCheck                  == 2.6.*,
     pcre-light                  >= 0.4,
     test-framework              == 0.8.*,
     test-framework-hunit        == 0.3.*,
-    test-framework-quickcheck2  == 0.3.*,
     utf8-string                 == 0.3.*
 
   main-is:
@@ -30,6 +35,11 @@ executable email_validator
   hs-source-dirs:
     src/
 
+  other-modules:
+    CommandLine
+    EmailAddress
+    ExitCodes
+
   ghc-options:
     -Wall
     -fwarn-hi-shadowing
@@ -65,11 +75,9 @@ test-suite testsuite
     dns                         == 0.3.*,
     HUnit                       == 1.2.*,
     parallel-io                 == 0.3.*,
-    QuickCheck                  == 2.6.*,
     pcre-light                  >= 0.4,
     test-framework              == 0.8.*,
     test-framework-hunit        == 0.3.*,
-    test-framework-quickcheck2  == 0.3.*,
     utf8-string                 == 0.3.*
 
   -- It's not entirely clear to me why I have to reproduce all of this.