diff options
author | Hisham Muhammad <hisham.hm@gmail.com> | 2007-07-16 05:23:55 +0000 |
---|---|---|
committer | Hisham Muhammad <hisham.hm@gmail.com> | 2007-07-16 05:23:55 +0000 |
commit | c1644edda7a59fde7ad1b4ba7c71159db58ee2f2 (patch) | |
tree | 500c245f009671e726275504ad0f32f23dcf8b37 /doc | |
parent | b65ccae3fb2640e38753269aedc05a58081e4b9e (diff) | |
download | luacov-c1644edda7a59fde7ad1b4ba7c71159db58ee2f2.tar.gz |
Add info about luacov.tick; fix validation.
Diffstat (limited to 'doc')
-rwxr-xr-x | doc/index.html | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/doc/index.html b/doc/index.html index 0d4c0fb..ed451a2 100755 --- a/doc/index.html +++ b/doc/index.html @@ -5,7 +5,7 @@ <title>LuaCov - Coverage analysis for Lua scripts</title> <link rel="stylesheet" href="doc.css" type="text/css" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> -<style> +<style type="text/css"> pre { font-family: "Andale Mono", monospace; } @@ -147,6 +147,19 @@ the <tt>luacov</tt> module ran (the stats file stores the filenames, but not the sources themselves). </p> +<p> +LuaCov saves its stats upon normal program termination. If your program +is a daemon -- in other words, if it does not terminate normally -- you +can use the <tt>luacov.tick</tt> module, which periodically saves the +stats file. For example, to run (on Unix systems) LuaCov on +<a href="http://www.keplerproject.org/xavante">Xavante</a>, +just modify the first line of <tt>xavante_start.lua</tt> so it reads: +</p> + +<div class="Example"> +#!/usr/bin/env lua -lluacov.tick +</div> + <h2><a name="history"></a>History</h2> <dl> |