Commit Graph

791 Commits

Author SHA1 Message Date
Simon Michael
6d18b8c0af consolidate under Hledger.Cli 2010-05-19 23:20:52 +00:00
Simon Michael
7d4593cee9 move Ledger.* to Hledger.Data.* 2010-05-19 23:08:53 +00:00
Simon Michael
38665bd1bc tools: fix coverage script and stats make rule 2010-05-23 22:46:40 +00:00
Simon Michael
7974b32c0f tools: cleaner test output 2010-05-23 22:49:03 +00:00
Simon Michael
191670c231 tools: update paths in func. tests 2010-05-22 00:52:45 +00:00
Simon Michael
d83f6ba5e0 tools: misc cleanups 2010-05-23 22:49:09 +00:00
Simon Michael
3a73eb6e73 tools: more flexible prof and heap rules, added quickprof and quickheap 2010-05-22 00:46:32 +00:00
Simon Michael
039833c739 move sample journals to data/ 2010-05-20 02:55:33 +00:00
Simon Michael
af7e8f327d tools: update benchmarking scripts 2010-05-22 21:24:07 +00:00
Simon Michael
090c8b4dd6 move the hledger application modules to Hledger and Hledger.Cli 2010-05-19 23:06:46 +00:00
Simon Michael
8b2600984c tools: makefile updates for hledger-lib 2010-04-14 21:51:02 +00:00
Simon Michael
7dcb91a70f docs: build site with hakyll 2010-05-17 14:33:05 +00:00
Simon Michael
aaa8b369fa tools: benchmarking updates, add experimental criterion/progression runners 2010-02-13 18:39:49 +00:00
Simon Michael
e15fbb5c8b tools: make viewhtml to preview site 2010-02-26 00:23:44 +00:00
Simon Michael
9cb66a2bc0 tools: fix various docs commands 2010-02-26 00:24:04 +00:00
Simon Michael
b34015475b remove a mac-ism 2010-04-01 21:22:03 +00:00
Simon Michael
4d3674d778 tools: make showcodechanges to see non-doc/site/tools changes and tags 2010-02-27 18:16:36 +00:00
Simon Michael
72c9d3d680 tools: define rst2pdf 2010-02-13 20:33:15 +00:00
Simon Michael
bb905b1f7c tools: fix a localism 2010-02-13 20:28:00 +00:00
Simon Michael
b5b06e5f1a docs: adapt apidocs: to package split, add sourcegraph: rule 2010-04-06 23:44:51 +00:00
Simon Michael
df0350a67c tools: doc building fixes 2010-03-13 00:19:05 +00:00
Simon Michael
999697b914 tools: fixperms 2010-03-09 01:32:52 +00:00
Simon Michael
10e75ebdf6 tools: make fixperms, viewall, printall, site; doc building updates 2010-02-13 20:21:08 +00:00
Simon Michael
7a895b0133 convert functional tests to shelltestrunner 0.8 format 2010-04-10 00:11:47 +00:00
Simon Michael
19c424862b tools: update for latest shelltestrunner, run func tests faster 2010-02-19 23:22:43 +00:00
Simon Michael
08607362b0 refactor assertParse/assertParseEqual 2010-03-10 19:48:46 +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
d6ef9f3436 tools: update hledgermac rule 2009-12-12 15:58:52 +00:00
Simon Michael
5378fc9798 comment 2009-12-16 17:59:13 +00:00
Simon Michael
783c8de632 tools: fix haddock building 2009-12-19 01:19:01 +00:00
Simon Michael
533b9d65b6 tools: version cleanup 2009-12-12 20:40:54 +00:00
Simon Michael
b8c6f6fc5a tools: enable all optional code when running ghci 2010-02-04 19:23:34 +00:00
Simon Michael
7bd14a367a web: get static files from the cabal data dir, or the current dir when using make (#13) 2009-12-18 22:33:02 +00:00
Simon Michael
39f95d36de site: drop the hoogle form from api docs, it doesn't work with standard hoogle 2009-07-09 21:20:49 +00:00
Simon Michael
6ad6421c8b run func. tests in parallel 2009-07-15 00:37:42 +00:00
Simon Michael
590bf8eeaa makefile: avoid lower-case test source files 2009-09-23 14:49:04 +00:00
Simon Michael
7bd8800c74 set up custom hlint hints 2009-09-23 17:56:15 +00:00
Simon Michael
64d438215a "make hlint" generates a hlint report 2009-09-23 15:00:24 +00:00
Simon Michael
715a2b7f22 note an issue with standalone test runner, make unittest uses the built-in test runner again 2009-11-25 11:41:25 +00:00
Simon Michael
09ab5e1cb2 tools: refine showreleasechanges 2009-11-28 15:37:35 +00:00
Simon Michael
8a98b83286 web: rename -fhapps flag to -fweb 2009-11-28 15:37:56 +00:00
Simon Michael
a1de72bea5 misc doc updates 2009-07-14 21:51:10 +00:00
Simon Michael
7c42280d4e docs: update makefile 2009-12-03 21:11:22 +00:00
Simon Michael
1a60160fdd tools: don't use -Werror with make ci 2009-12-10 21:34:08 +00:00
Simon Michael
9549a0b136 tools: make printps, print prints code 2009-12-10 21:38:09 +00:00
Simon Michael
d5f8c90dd4 tools: find executables in current directory when running benchmark 2009-12-12 02:11:58 +00:00
Simon Michael
69555a6a79 docs: comment 2009-12-12 02:25:27 +00:00
Simon Michael
c474077ef5 tools: release process updates 2009-12-12 02:55:59 +00:00
Simon Michael
436929c752 update benchmark exes 2009-12-12 02:35:09 +00:00
Simon Michael
0cbab63143 docs: update version numbering policy 2009-12-10 22:43:23 +00:00
Simon Michael
cb0a90cbd7 shelltestrunner now packaged separately, update tests for it 2009-07-11 22:30:10 +00:00
Simon Michael
a6cc0effe5 makefile: test rule cleanups 2009-06-28 03:17:02 +00:00
Simon Michael
3b9c6448be more test tweaks 2009-06-27 11:02:28 +00:00
Simon Michael
484580ca64 makefile: release process tweaks
- hledgercabal does a cabal configure & build
- move unit-testing of the cabal executable into cabaltest
- cabaltest now also does cabal upload --check
- hackageupload does the upload instead of talking about it
- release and releaseupload are now separate for safety
- don't let pushbinary stop make due to missing binary
- updatesite pushes pending changes first
2009-06-22 19:52:58 +00:00
Simon Michael
2ae609fee6 add a shell test runner like ledger's, and "make functest" rule 2009-06-27 08:15:00 +00:00
Simon Michael
2489517931 docs: more site & docs cleanup 2009-11-21 02:01:28 +00:00
Simon Michael
a19ea34ce0 site: table of contents for user guide 2009-11-19 21:39:04 +00:00
Simon Michael
5f9b86d9a8 docs: split the home page into two, doc updates 2009-11-20 14:54:17 +00:00
Simon Michael
66f66ce3d5 release process tweaks 2009-06-13 21:37:06 +00:00
Simon Michael
bb29623d6e remove aux files after make heap 2009-05-29 20:42:42 +00:00
Simon Michael
db9ecf7a9e yet another makefile tweak 2009-06-05 06:23:22 +00:00
Simon Michael
7435675308 makefile: fix hledgerlinux target 2009-06-05 02:51:02 +00:00
Simon Michael
4492dd02c4 build with more warnings enabled 2009-06-05 09:42:44 +00:00
Simon Michael
2ed7ef39af better coverage-enabled building, cleanup 2009-06-05 09:48:15 +00:00
Simon Michael
9f57989493 make clean before and after a coverage build 2009-06-05 01:53:26 +00:00
Simon Michael
ad40cab591 make docs generation less verbose 2009-06-05 10:09:22 +00:00
Simon Michael
1570b4efcb makefile: releasetest fix 2009-06-05 11:39:11 +00:00
Simon Michael
5e08ad821e show doctest failures on stderr, less verbose make doctest 2009-06-05 18:59:59 +00:00
Simon Michael
1bc8f8430f makefile: clean up tests, add warningstest, committest, releasetest targets 2009-06-05 11:15:32 +00:00
Simon Michael
8d28850580 fix make doctest 2009-06-05 09:39:58 +00:00
Simon Michael
80c42b3e45 site: set up /profs symlink 2009-06-13 19:26:34 +00:00
Simon Michael
08d0663704 makefile: rename benchtest to benchmark, it's not a pass/fail test 2009-06-05 10:47:01 +00:00
Simon Michael
7aaa2c5ad0 "make coverage" now generates a nice html report of test coverage 2009-06-04 01:33:31 +00:00
Simon Michael
ce78ce8f3d more fixes for tool building 2009-05-29 20:28:55 +00:00
Simon Michael
d6e93bcc7b bench runner was not being rebuilt 2009-05-29 19:09:12 +00:00
Simon Michael
a44dc784dd update benchmark tests 2009-06-13 17:57:40 +00:00
Simon Michael
41699cc9d7 more benchtest cleanups; test balance, register and print 2009-05-29 11:42:34 +00:00
Simon Michael
59d1cd96b8 makefile: fix benchmark symlinking bug 2009-06-13 18:21:56 +00:00
Simon Michael
c936e90a54 add a --binary-filename option and "make pushbinary" for easy publishing
Also note that we don't yet follow cabal package versioning policy.
2009-06-05 02:07:38 +00:00
Simon Michael
956cd0e993 makefile: easier upload of platform binaries 2009-06-05 00:55:20 +00:00
Simon Michael
6e7e9e9984 "make push"/"make pull" for me to sync profiles etc. 2009-05-29 21:00:38 +00:00
Simon Michael
cdfe673b74 makefile cleanups 2009-06-02 20:37:34 +00:00
Simon Michael
ad214a51ec makefile: working on portable binaries 2009-06-04 23:16:06 +00:00
Simon Michael
8905c3b2c6 simplify docs infrastructure 2009-06-02 19:54:45 +00:00
Simon Michael
7dafeb9bd1 "make heap" and "make coverage" rules, the latter untested 2009-05-29 19:49:11 +00:00
Simon Michael
d35792bf3f move commands to their own subpackage 2009-06-02 18:29:01 +00:00
Simon Michael
9d3433b077 profiling and benchtesting fixes, set up latest.{prof,bench}, "make pushprofs" 2009-05-29 19:26:09 +00:00
Simon Michael
1dea32d7b9 docs: css, analytics tag, footer, update copyright notice 2009-06-02 06:58:43 +00:00
Simon Michael
ab1fc8c8b2 docs reorg, generate static website from in-repo rst files
Using pandoc as a guide.
2009-06-02 06:20:19 +00:00
Simon Michael
483cdb8fb2 makegeddon! makefile simplification and cleanup, including..
- section headings
- fewer variables
- less unnecessary rebuilding
- more standardised sample ledgers and benchmarks (use "make benchtest" now)
- more robust profiling
- don't symlink tools in top directory
2009-05-29 08:29:04 +00:00
Simon Michael
2e46d96402 fix "make clean" for bsd 2009-05-29 07:59:51 +00:00
Simon Michael
db6d34bd50 cabal: fix version updating 2009-06-13 21:24:31 +00:00
Simon Michael
f0f127ef38 make hackageupload more verbose 2009-06-13 21:24:50 +00:00
Simon Michael
631a2610d5 add cabal file to tags 2009-04-03 08:44:44 +00:00
Simon Michael
533c753a46 workaround for hackageupload target 2009-04-03 20:52:32 +00:00
Simon Michael
d3309283a1 don't bother generating static html docs, I like the dynamic-skinned versions better 2009-04-03 22:42:38 +00:00
Simon Michael
468955a563 make development builds quickly 2009-04-16 06:34:04 +00:00
Simon Michael
7bc3920bda run more doctests 2009-04-16 06:34:12 +00:00
Simon Michael
baddf20e78 curly-braces globbing in makefile isn't working on this machine for whatever reason 2009-05-14 23:41:50 +00:00
Simon Michael
4c74feeed5 drop old flag from prof target 2009-05-17 00:02:58 +00:00
Simon Michael
c0435faf53 expand and clean up stats-related make rules 2009-05-17 14:13:06 +00:00
Simon Michael
4162726854 rename some sample ledgers for easier filename completion 2009-04-03 20:49:33 +00:00
Simon Michael
7ad7fdfb5c fix old paths in bench tests 2009-05-15 11:48:32 +00:00
Simon Michael
44cb0674de build with all flags in make check 2009-05-23 23:49:11 +00:00
Simon Michael
4d3a514eba fix pre-release check 2009-04-02 21:03:32 +00:00
Simon Michael
3c1d3a6d7f simplify: drop the ansi ui, and enable the vty ui by default
If what I'm hearing is correct, cabal on windows will turn off the vty
flag automatically. The alternative ansi ui is not worth the hassle.
2009-04-03 04:17:48 +00:00
Simon Michael
f1e193aef1 polish 2009-04-03 05:58:14 +00:00
Simon Michael
aa607b1297 rename last profile to more memorable profile.prof 2009-01-25 09:03:14 +00:00
Simon Michael
a918e343e7 fix "make test" 2009-02-27 03:09:01 +00:00
Simon Michael
f1ab2fcdbb tweak doctest output, and compile it 2009-03-15 08:47:23 +00:00
Simon Michael
abf86f31fa makefiel cleanups, new targets: ghci, haddocktest, doctest, unittest, view-api-docs 2009-03-15 05:15:59 +00:00
Simon Michael
a8ce8a55ce update, document "make profile" 2009-01-25 08:43:50 +00:00
Simon Michael
bed6f0ce01 comments 2009-02-27 03:09:16 +00:00
Simon Michael
dbd1c237f8 make PATCHES value visible 2009-03-05 18:20:19 +00:00
Simon Michael
98ba065c59 polish 2009-04-02 09:38:12 +00:00
Simon Michael
36c76cf7f1 simplify PATCHES handling, fixes "make ci" 2009-02-27 05:50:12 +00:00
Simon Michael
9333f98b6b include all optional build parts in haddock & hoogle docs 2009-02-27 05:11:38 +00:00
Simon Michael
c0885f7c76 another iteration of the version number system; simpler and more efficient
The release version is defined in VERSION, make or make release do the rest.
2009-02-27 02:55:54 +00:00
Simon Michael
ea0c32641d minimal happs-based web ui, enabled with -f happs 2009-01-20 04:04:40 +00:00
Simon Michael
e361b789a0 simple ansi-based ui that should work on windows, enabled with -f ansi 2009-01-20 04:02:21 +00:00
Simon Michael
195fc13fcf make tweaks 2009-01-26 20:27:41 +00:00
Simon Michael
4ebc42dde3 more makefile docs 2009-01-25 09:00:57 +00:00
Simon Michael
5dd0ed838b makefile cleanup 2009-01-20 03:48:35 +00:00
Simon Michael
51e1e8b75f make show-unpushed 2009-01-20 22:27:32 +00:00
Simon Michael
20ef2dde04 a new version numbering system, more automated and hopefully usable
See comments in Makefile. The major.minor[.bugfix] release version is
defined there, then "make" and "make release" should take care of
everything. Excerpt:

Goals and constraints for version numbering:
1 automation, robustness, simplicity, platform independence
2 cabal versions must be all-numeric
3 release versions should be concise
4 releases should have a corresponding darcs tag
5 development builds should have a precise version appearing in --version
6 development builds should generate cabal packages with non-confusing versions
7 would like a way to mark builds/releases as alpha or beta
8 would like to easily darcs get the .0 even with bugfix releases present
2009-02-26 17:37:46 +00:00
Simon Michael
15239ecf96 make an explicit configure flag for the vty ui 2009-01-20 03:48:05 +00:00
Simon Michael
d5b4797703 makefile docs, a push target for me 2009-01-25 08:09:09 +00:00
Simon Michael
664ba2fbc9 "make send" to send unpushed patches to the hledger mail list
(doesn't set --in-reply-to)
2009-01-25 07:48:41 +00:00
Simon Michael
8dcd53c9ba clean up version string and include configure flags 2009-01-20 05:57:25 +00:00
Simon Michael
f8a37d5531 make docs-building more robust 2008-11-23 22:29:17 +00:00
Simon Michael
0ad4f7b656 fix release target 2009-01-17 23:22:21 +00:00
Simon Michael
ac2bd55f93 streamline bench tests, generate test ledgers 2009-01-17 18:40:27 +00:00
Simon Michael
e5035ed42a build and use an easy ./bench binary 2008-12-10 20:46:18 +00:00
Simon Michael
ff6d3f40c1 make cleanups 2008-12-10 18:43:14 +00:00
Simon Michael
03d6647918 fix BENCHEXES 2008-12-07 18:57:25 +00:00
Simon Michael
0bb2b002c3 go back to -O, drop defunct xprofile target
-O/-O2/-O3 don't affect hledger performance right now, leaving a buildo2
target for future checking
2008-12-05 09:28:24 +00:00
Simon Michael
0465c369e2 tweak test rule 2008-11-26 19:02:31 +00:00
Simon Michael
b17e23909f "make profile" works again 2008-12-05 00:38:19 +00:00
Simon Michael
1d087d8b8d let "make" use highest ghc optimisation level 2008-12-04 19:32:10 +00:00
Simon Michael
c03ab4bed3 "make rebuild" 2008-12-05 08:51:27 +00:00
Simon Michael
1809dd7766 easier config of bench make target 2008-12-05 08:53:23 +00:00
Simon Michael
b61c4f85e6 "make bench" runs some benchmark tests and saves results 2008-11-26 19:00:55 +00:00
Simon Michael
cf914879d0 update continuous target 2008-11-08 20:25:22 +00:00
Simon Michael
836992a0b4 have make continuous run the tests instead 2008-10-18 00:14:00 +00:00
Simon Michael
4b77961380 remove some hoogle workaround 2008-11-08 22:42:48 +00:00
Simon Michael
ac25f5583a NEWS file 2008-11-23 21:49:04 +00:00
Simon Michael
df5fa12e41 generate html and pdf from README 2008-11-08 22:41:20 +00:00
Simon Michael
d005833741 "make show-authors" lists patch authors since last release 2008-11-23 21:50:38 +00:00
Simon Michael
99e326a77c makefile tweak 2008-11-23 21:50:47 +00:00
Simon Michael
6cd97f3f64 "make release" extracts version number from Options.hs, tags and uploads to hackage 2008-11-23 22:15:51 +00:00
Simon Michael
7db0881b40 makefile cleanup, add "make sloc" 2008-10-18 04:34:41 +00:00
Simon Michael
dc497e0c26 build with -O2 by default 2008-10-17 17:00:53 +00:00
Simon Michael
726594f09a "make continuous" recompiles and runs whenever a module changes. you rock happs guys. 2008-10-17 16:59:05 +00:00
Simon Michael
f696edd502 "make show-changes" since last release 2008-10-17 18:04:24 +00:00
Simon Michael
ec740a3e1c also clean up darcs-amend-record files 2008-10-17 18:04:54 +00:00
Simon Michael
15ea00a327 rename that pesky tags target 2008-10-10 01:44:40 +00:00
Simon Michael
d507559056 makefile cleanups 2008-10-03 07:40:28 +00:00
Simon Michael
7f5d85cea4 fix hscolour make target 2008-10-03 02:02:25 +00:00
Simon Michael
9a72298a4c update Tags and clean targets 2008-10-03 01:12:14 +00:00
Simon Michael
dff6eb8e76 stop linking to per-entity source, which breaks haddock 2008-10-03 00:53:30 +00:00
Simon Michael
f1668587b6 test-docs make target 2008-10-02 23:32:07 +00:00
Simon Michael
6d3eaa3ebf fix up src-Main.html link 2008-10-01 10:18:07 +00:00
Simon Michael
3ca87d0486 build darcs-style api docs with hoogle 2008-09-30 23:53:27 +00:00
Simon Michael
59181876aa add haddock/hscolour/hoole make targets like the ones in darcs 2008-09-28 23:27:46 +00:00
Simon Michael
1421fb6b0b remove overview.hs 2008-09-28 03:27:17 +00:00
Simon Michael
48c1a2ef99 makefile var cleanup 2008-09-28 03:24:29 +00:00
Simon Michael
97cd582b7f fix overview.hs path 2008-07-10 21:11:58 +00:00
Simon Michael
34ebd9e3df support tools cleanup 2008-05-26 21:19:21 +00:00
Simon Michael
06b376385b better regression testing 2007-07-11 08:25:05 +00:00
Simon Michael
b5087b88c5 fix some display problems, preserve transaction grouping 2007-07-04 12:40:26 +00:00
Simon Michael
42ba85c4e1 print command 2007-07-04 09:28:07 +00:00
Simon Michael
6d1816109c make cleanups 2007-07-04 03:33:08 +00:00
Simon Michael
45d4d0ffac make compare to check against ledger 2007-07-04 02:23:37 +00:00
Simon Michael
3c6b5b039b make tweaks 2007-07-03 09:11:03 +00:00
Simon Michael
8074907ef8 profile rules 2007-07-03 05:42:43 +00:00
Simon Michael
2ddeb4841c move types to bottom 2007-07-02 16:43:14 +00:00
Simon Michael
224c05aa22 tweak overview rule 2007-07-02 15:21:47 +00:00
Simon Michael
4ff7c1c7fb build with profile info 2007-07-02 16:31:47 +00:00
Simon Michael
bf89f7ac7a better profile rules 2007-05-02 02:50:10 +00:00
Simon Michael
be560eb290 make overview pull list from source file 2007-05-02 02:05:14 +00:00
Simon Michael
3a4e4d1c22 ghc 6.4 build fix 2007-03-14 01:46:22 +00:00
Simon Michael
93fa427e08 don't use dirname for binary 2007-03-10 03:03:30 +00:00
Simon Michael
411ec12636 rename overview rule 2007-03-10 02:07:11 +00:00
Simon Michael
0847f7b770 binary corresponds to dir name, for testing branches 2007-03-10 00:12:36 +00:00
Simon Michael
2039296ee1 loc rule 2007-03-09 23:21:49 +00:00
Simon Michael
328d198559 overview tool and make rules for profiling, haddock, etc 2007-02-21 09:21:18 +00:00
Simon Michael
ba40fbf733 reorg, split types into separate modules 2007-02-16 09:00:17 +00:00
Simon Michael
ce3dc54ee0 build tags 2007-02-10 23:25:48 +00:00
Simon Michael
cf953b442d register report now has layout, auto-fills missing transaction amounts and shows the running balance 2007-02-09 15:54:18 +00:00
Simon Michael
3751a91c60 cleanup 2007-02-09 03:32:07 +00:00
Simon Michael
04a5f1632b makefile 2007-02-09 03:17:18 +00:00