blob: 89c07d70a2441e153016c25acb7e230ef1443b07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
To run the examples, you can either directly use
$> lua ../luam.lua run-tests.lua
or make a shortcut to luam.lua on your path.
$> luam run-tests.lua
`run-tests.lua` is both an example of using macros and a little test harness for the package.
The shortcut should look something like this
@echo off
rem luam.bat
lua c:\mylua\LuaMacro\luam.lua %*
or this:
# luam
lua /home/frodo/lua/LuaMacro/luam.lua $*
and then should be copied somewhere on your executable path.
|