]> git.lizzy.rs Git - metalua.git/blob - src/samples/metalint/INSTALL.TXT
Merge remote branch 'origin/master'
[metalua.git] / src / samples / metalint / INSTALL.TXT
1 Metalint 0.1 - INSTALL.TXT
2 ==========================
3
4 Metalint is a regular Metalua program, and relies on Metalua compilation
5 libraries. You must therefore have a working Metalua installation on your
6 system. You can run it with: "metalua metalint.mlua -- <metalint arguments>".
7 For instance, to check metalint itself:
8
9     ~/src/metalua/src/sandbox$ metalua metalint.mlua -- metalint.mlua
10     File metalint.mlua checked successfully
11     ~/src/metalua/src/sandbox$
12
13 You can also precompile it:
14
15     ~/src/metalua/src/sandbox$ metalua metalint.mlua -s '#!/usr/bin/env lua' -o metalint
16     ~/src/metalua/src/sandbox$ ./metalint lint.mlua 
17     File lint.mlua checked successfully
18     ~/src/metalua/src/sandbox$
19
20 Beware that even when precompiled, it still requires the Metalua runtime libs in LUA_PATH.
21
22 Don't forget to set the LUA_DPATH environment variable!