Commit Graph

8 Commits

Author SHA1 Message Date
Simon Michael
5476a292ad docs: haddock fixes 2010-03-13 00:17:47 +00:00
Simon Michael
d4965b87ff web: -fweb now builds with simpleserver; the alternate -fwebhappstack builds with happstack
hack-handler-simpleserver is presumably quite a bit easier to install than
happstack, and so far fits hledger's needs just as well, so it is now the
default when installing with -fweb. To build with happstack, use
-fwebhappstack instead.  hledger --version shows which webserver was
built. Also webserver thread management has been simplified so should be
more consistent across platforms.
2010-02-16 03:39:19 +00:00
Simon Michael
a50d3e2b71 refactor, allow in-module unit tests
Until now, all unit tests were defined in Tests.hs. Pro: simple, makes
code/test line counting easy. Con: tests are far from code, Tests.hs turns
into a big wall of test code. Now, unit tests can also be defined in modules.

To avoid name clashes and template haskell complexity, a dumb manual
naming scheme is used: any module may export a hunit Test(List) named
tests_ModuleName. These are manually aggregated and re-exported when
appropriate, eg in Commands.All and finally in Tests.hs.
2010-03-08 21:47:36 +00:00
Roman Cheplyaka
e96350c3f1 New command 'chart': generate balances pie chart 2009-09-26 22:53:54 +00:00
marko.kocic
cca81d199f Hlint: Error: Use better pragmas 2009-09-22 12:22:44 +00:00
Simon Michael
8a98b83286 web: rename -fhapps flag to -fweb 2009-11-28 15:37:56 +00:00
Simon Michael
131d671a45 haddock 2009-06-02 19:57:18 +00:00
Simon Michael
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00