]> gitweb.michael.orlitzky.com - dead/htsn.git/blobdiff - htsn.cabal
Move Logging, Report, and Terminal into their own library htsn-common and depend...
[dead/htsn.git] / htsn.cabal
index 09ac6da0734072a122ba6714cbc4a17e0fa40b5a..09c5c0df446e0cfbc53ca2e4bff9227a27e4f0eb 100644 (file)
@@ -1,5 +1,5 @@
 name:           htsn
-version:        0.0.1
+version:        0.0.4
 cabal-version:  >= 1.8
 author:         Michael Orlitzky
 maintainer:    Michael Orlitzky <michael@orlitzky.com>
@@ -185,10 +185,15 @@ description:
   .
   Any of the command-line options mentioned above can be specified in a
   configuration file instead. We first look for \"htsnrc\" in the
-  system configuration directory (/etc on Unix). We then look for a file
-  named \".htsnrc\" in the user's home directory. The latter will override
+  system configuration directory. We then look for a file named
+  \".htsnrc\" in the user's home directory. The latter will override
   the former.
   .
+  The user's home directory is simply $HOME on Unix; on Windows its
+  wherever %APPDATA% points. The system configuration directory
+  is determined by Cabal; the /sysconfdir/ parameter during
+  the \"configure\" step is used.
+  .
   The file's syntax is given by examples in the htsnrc.example file
   (included with /htsn/).
   .
@@ -198,7 +203,6 @@ description:
 
 executable htsn
   build-depends:
-    ansi-terminal               == 0.6.*,
     base                        == 4.*,
     cmdargs                     >= 0.10.6,
     configurator                == 0.2.*,
@@ -206,12 +210,12 @@ executable htsn
     filepath                    == 1.3.*,
     hdaemonize                  == 0.4.*,
     hslogger                    == 1.2.*,
+    htsn-common                 == 0.0.1,
     hxt                         == 9.3.*,
     MissingH                    == 1.2.*,
     network                     == 2.4.*,
-    tasty                       == 0.5.*,
+    tasty                       == 0.6.*,
     tasty-hunit                 == 0.4.*,
-    transformers                == 0.3.*,
     unix                        == 2.6.*
 
   main-is:
@@ -224,12 +228,10 @@ executable htsn
     CommandLine
     Configuration
     ExitCodes
-    Logging
+    FeedHosts
     OptionalConfiguration
-    Terminal
-    TSN.FeedHosts
-    TSN.Xml
     Unix
+    Xml
 
   ghc-options:
     -Wall
@@ -260,7 +262,6 @@ test-suite testsuite
   hs-source-dirs: src test
   main-is: TestSuite.hs
   build-depends:
-    ansi-terminal               == 0.6.*,
     base                        == 4.*,
     cmdargs                     >= 0.10.6,
     configurator                == 0.2.*,
@@ -268,12 +269,12 @@ test-suite testsuite
     filepath                    == 1.3.*,
     hdaemonize                  == 0.4.*,
     hslogger                    == 1.2.*,
+    htsn-common                 == 0.0.1,
     hxt                         == 9.3.*,
     MissingH                    == 1.2.*,
     network                     == 2.4.*,
-    tasty                       == 0.5.*,
+    tasty                       == 0.6.*,
     tasty-hunit                 == 0.4.*,
-    transformers                == 0.3.*,
     unix                        == 2.6.*
 
   -- It's not entirely clear to me why I have to reproduce all of this.