From 27d6efb5f5a076f825fe2da1875e0cabaf02b4e7 Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 17 Nov 2021 23:03:07 +0800 Subject: + LuaMacro --- Tools/LuaMacro/tests/readme.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Tools/LuaMacro/tests/readme.md (limited to 'Tools/LuaMacro/tests/readme.md') diff --git a/Tools/LuaMacro/tests/readme.md b/Tools/LuaMacro/tests/readme.md new file mode 100644 index 0000000..89c07d7 --- /dev/null +++ b/Tools/LuaMacro/tests/readme.md @@ -0,0 +1,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. + -- cgit v1.1-26-g67d0