Skip to content

Commit 966d048

Browse files
committed
Renamed main.lua to preprocess-cl.lua
1 parent fbffe74 commit 966d048

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Preprocess.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
@lua "%~dp0main.lua" %*
1+
@lua "%~dp0preprocess-cl.lua" %*

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Write embedded metaprograms to generate code using normal Lua inside your Lua fi
88
*LuaPreprocess* is written in pure Lua.
99
[The library](preprocess.lua) is a single file with no external dependencies.
1010
[MIT license](LICENSE.txt).
11-
A separate [command line program](main.lua) is available too.
11+
A separate [command line program](preprocess-cl.lua) is available too.
1212

1313
- [Example program](#example-program)
1414
- [Usage](#usage)
@@ -101,11 +101,11 @@ Preprocess.cmd [options] filepath1 [filepath2 ...]
101101

102102
#### Any System
103103
```batch
104-
lua main.lua [options] filepath1 [filepath2 ...]
104+
lua preprocess-cl.lua [options] filepath1 [filepath2 ...]
105105
```
106106

107107
If a filepath is, for example, `C:/MyApp/app.lua2p` then *LuaPreprocess* will write the processed file to `C:/MyApp/app.lua`.
108108

109-
See the top of [main.lua](main.lua) and [preprocess.lua](preprocess.lua) for the options and more documentation.
109+
See the top of [preprocess-cl.lua](preprocess-cl.lua) and [preprocess.lua](preprocess.lua) for the options and more documentation.
110110

111111

RunExamples.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
FOR /R examples %%G IN (*.lua2p) DO (
44
ECHO. & ECHO Processing example '%%~nxG'...
5-
lua main.lua "%%G" --debug --silent
5+
lua preprocess-cl.lua "%%G" --debug --silent
66
lua "%%~dpnG.lua"
77
)
88

RunTest.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
@ECHO OFF
22
IF NOT EXIST local MD local
3-
lua main.lua --debug --saveinfo=local/info.lua test.lua2p
3+
lua preprocess-cl.lua --debug --saveinfo=local/info.lua test.lua2p

main.lua renamed to preprocess-cl.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exec lua "$0" "$@"
1515
--==============================================================
1616
1717
Script usage:
18-
lua main.lua [options] [--] filepath1 [filepath2 ...]
18+
lua preprocess-cl.lua [options] [--] filepath1 [filepath2 ...]
1919
2020
Options:
2121
--handler=pathToMessageHandler

0 commit comments

Comments
 (0)