Simon Michael
792c807f2c
tools readme
2017-01-08 07:28:23 -08:00
Simon Michael
843c417079
tools: simplebench is now quickbench
2016-10-21 11:46:50 -07:00
Simon Michael
588f36d662
rename timelog format to timeclock
2016-04-12 21:13:19 -07:00
Simon Michael
bba7909165
doc: m4-based man pages pt 2, missing files
2016-04-06 09:03:01 -07:00
Simon Michael
9b492325da
tools: rename pandoc filters
2016-04-05 16:17:08 -07:00
Simon Michael
099870e96a
tools: shake file requires pandoc, filters use current snapshot
2016-04-05 16:17:08 -07:00
Simon Michael
df3cb6d334
tools: use latest pandoc, avoiding SoftBreak error
...
Require a recent snapshot with the latest pandoc-types for the pandoc
filters (may be different from the snapshot used to build hledger).
2016-04-05 16:17:08 -07:00
Simon Michael
e1c9e51775
tools: new build system for man/web docs
...
Goal:
Generate man pages and web docs from one source.
Current plan:
The master docs for each package are now the pandoc-style
manpage-markdown files in the package directories -
hledger/hledger.1.md, hledger-lib/hledger_journal.5.md, etc.
Parts of these will be marked as web-only, and parts as man-only, using
divs recognisable by custom pandoc filters.
When generating man pages we strip the web-only parts, and all html
blocks, inline html and hyperlinks.
When generating web docs we strip the man-only parts and apply any other
tweaks needed for easy presentation, perhaps combining them into a
single web page similar to the old user manual.
Shake:
This was hard to do with GNU Make, and so I've introduced Shake, which
is working very well. Both coexist for now but it's probably time to
switch.
2016-02-21 02:21:41 -08:00
Simon Michael
3762ae8f70
tools: pandoc filters used when making man pages
2015-10-26 06:56:33 -07:00
Simon Michael
e6d8a9d1bc
tools: add sample journals with wide characters
...
generatejournal now has --chinese and --mixed options, which are used to
generate some additional small sample journals.
2015-10-10 11:51:07 -07:00
Simon Michael
523ab4331a
tools: update profiling rules
...
A bunch of cleanups to make profiling possible again, and easier.
"make quickprof-CMD" generates a profile for CMD, which must be one
word and runs against one of the sample journals (the usual
quickprof-"SOME WORDS" quoting trick isn't working here for some
reason)
Also,
"make hledgerprof" builds the hledgerprof executable (in stack's bin dir) for profiling.
"make hledgercov" builds the hledgercov executable (in ./bin) for coverage reports
(renamed from hledgerhpc to remind me that HPC is nothing to do with heap coverage)
2015-07-22 08:52:30 -07:00
Simon Michael
c4e2c4e56c
tools: generatetimelog
2015-07-12 12:32:53 -07:00
Simon Michael
f4842726e0
tools: fix warnings in simplebench
2014-10-19 09:34:46 -07:00
gwern
d1618aaca8
strip trailing whitespace from all Haskell files
2014-10-14 18:48:24 -07:00
Simon Michael
edf0d1053b
tools: make tools/* executable
2014-05-01 08:14:04 -07:00
Simon Michael
8139528e83
tools: clarify tools/simplebench.hs's required libs
2013-05-04 09:07:00 -07:00
Simon Michael
7e753e13b5
tools: dayssincerelease.hs -> dayssincetag.hs
2011-09-25 18:29:23 +00:00
Simon Michael
c8e84b3a3a
tools: clean up coverage report scripts
2011-04-22 18:47:12 +00:00
Simon Michael
d0efde5429
tools: fix up the releasestats make rule
2011-04-22 18:47:57 +00:00
Simon Michael
7d7159609b
refactor: much renaming of ledger -> journal, hopefully the right amount
2010-07-13 06:30:06 +00:00
Simon Michael
8ed15c2e99
tools: update simplebench for current tabular
2010-05-22 21:13:11 +00:00
Simon Michael
38665bd1bc
tools: fix coverage script and stats make rule
2010-05-23 22:46:40 +00:00
Simon Michael
aaa8b369fa
tools: benchmarking updates, add experimental criterion/progression runners
2010-02-13 18:39:49 +00:00
gwern0
357f56d0f4
de-haskell98
2010-03-09 01:51:21 +00:00
Simon Michael
d6ef9f3436
tools: update hledgermac rule
2009-12-12 15:58:52 +00:00
Simon Michael
9ff4a23492
note doctest.hs issue
2009-06-22 19:46:31 +00:00
marko.kocic
3341ad197f
Hlint: Error: Use .
2009-09-22 12:19:38 +00:00
marko.kocic
efa31c05b9
Hlint: Error: Use mapM
2009-09-22 12:30:17 +00:00
marko.kocic
d0baf650f2
Hlint: Error: Use mapMaybe
2009-09-22 12:35:31 +00:00
marko.kocic
8414f06416
Hlint: Warning: Use liftM
2009-09-23 09:35:50 +00:00
marko.kocic
d6393f5f63
Hlint: Warning: Use list comprehension
2009-09-23 09:45:39 +00:00
marko.kocic
1690de8d00
Hlint: Warning: Use string literal
2009-09-23 09:56:17 +00:00
Simon Michael
73bc81cd7e
add missing test runner
2009-11-25 11:30:50 +00:00
marko.kocic
c6eac33d32
Hlint: Warning: Use :
2009-09-23 09:22:53 +00:00
marko.kocic
b197693197
Hlint: Warning: Redundant brackets
2009-09-22 16:51:27 +00:00
marko.kocic
8fdd28d446
Hlint: Error: Redundant $
2009-09-22 11:55:11 +00:00
Simon Michael
cb0a90cbd7
shelltestrunner now packaged separately, update tests for it
2009-07-11 22:30:10 +00:00
Simon Michael
f1f4a0c023
shelltest: use test-framework as test runner
...
We can now run shell tests in parallel which seems to be a big win.
Tests which took 3.5s now run in .13s.
2009-06-28 02:31:36 +00:00
Simon Michael
e11c828aaf
shelltest: show filename, not command, when running tests
2009-06-27 10:35:10 +00:00
Simon Michael
ba47853501
shelltest: make fields in .test files optional
2009-06-27 10:18:34 +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
marko.kocic
ddc176d83e
Hlint: Warning: Eta reduce
2009-09-22 15:56:59 +00:00
Simon Michael
29cc846dc0
avoid exitSuccess for base 3 compatibility (issue #2 )
2009-06-22 15:47:05 +00:00
Simon Michael
22c6d62907
generateledger tool, creates test ledgers of specified size
2009-05-29 08:23:59 +00:00
Simon Michael
6958d47329
make bench tests with command arguments work
2009-05-29 12:09:39 +00:00
Simon Michael
72ad595542
reflect success/failure in doctest and unittest runners' exit codes
2009-06-05 17:29:20 +00:00
Simon Michael
5e08ad821e
show doctest failures on stderr, less verbose make doctest
2009-06-05 18:59:59 +00:00
Simon Michael
6c6eb2691e
drop old-locale dependency
2009-06-03 23:44: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
f1ab2fcdbb
tweak doctest output, and compile it
2009-03-15 08:47:23 +00:00
Simon Michael
5fb256b582
a simple doctest implementation for functional/shell testing
2009-03-15 05:06:36 +00:00
Simon Michael
f794445451
update simplifyprof.hs
2008-12-05 00:37:47 +00:00
Simon Michael
61b288bf05
easier options for bench.hs
2008-12-10 20:45:09 +00:00
Simon Michael
cd41128620
left-justify arguments in benchmark summary
2008-11-27 06:29:46 +00:00
Simon Michael
2092ed85ae
preserve args' whitespace layout in benchmark summary
2008-12-05 08:59:56 +00:00
Simon Michael
77a543e7b7
benchresults instead of summary for bench results filename
2008-12-05 09:01:42 +00:00
Simon Michael
b61c4f85e6
"make bench" runs some benchmark tests and saves results
2008-11-26 19:00:55 +00:00
Simon Michael
1421fb6b0b
remove overview.hs
2008-09-28 03:27:17 +00:00
Simon Michael
34ebd9e3df
support tools cleanup
2008-05-26 21:19:21 +00:00