diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2011-02-18 20:33:43 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2011-02-18 20:33:43 +0100 |
commit | 1760eafa1d2ebce8f07e11414a53d4a251af5b8e (patch) | |
tree | 18f2fcd400bb35528212930c4e61be04be31bea0 /make-vc.cmd | |
parent | ab233d0c9a1edc34836e2249c1eb6d714f1066b5 (diff) | |
download | lanes-1760eafa1d2ebce8f07e11414a53d4a251af5b8e.tar.gz lanes-1760eafa1d2ebce8f07e11414a53d4a251af5b8e.tar.bz2 lanes-1760eafa1d2ebce8f07e11414a53d4a251af5b8e.zip |
* keeper.lua is now embedded in text form instead of bytecode to improve LuaJIT2-compatibility (but this is not enough).
* moved keeper-related code in a separate source file
Diffstat (limited to 'make-vc.cmd')
-rw-r--r-- | make-vc.cmd | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/make-vc.cmd b/make-vc.cmd index 2b4a7f6..7711a44 100644 --- a/make-vc.cmd +++ b/make-vc.cmd | |||
@@ -114,13 +114,11 @@ goto ERR_NOLUA | |||
114 | :LUA_LIB_OK | 114 | :LUA_LIB_OK |
115 | 115 | ||
116 | @REM | 116 | @REM |
117 | @REM Precompile src/.lua -> .lch | 117 | @REM Embed src/keeper.lua -> .lch |
118 | @REM | 118 | @REM |
119 | @REM Note: we cannot use piping in Windows since we need binary output. | 119 | @REM Note: we cannot use piping in Windows since we need binary output. |
120 | @REM | 120 | @REM |
121 | "%LUAC_EXE%" -o delme src/keeper.lua | 121 | "%LUA_EXE%" tools/bin2c.lua -o src/keeper.lch src/keeper.lua |
122 | "%LUA_EXE%" tools/bin2c.lua -o src/keeper.lch delme | ||
123 | @del delme | ||
124 | 122 | ||
125 | @if "%VCINSTALLDIR%"=="" goto ERR_NOVC | 123 | @if "%VCINSTALLDIR%"=="" goto ERR_NOVC |
126 | 124 | ||