summaryrefslogtreecommitdiff
path: root/lua2c.cmd
blob: 4389e66e7a429bebdf7a507f4666b3aa1e159455 (plain)
1
2
3
4
5
6
7
8
9
@echo off
c:\work\luac %1 -o %~n1.clua
if errorlevel 1 goto failed
c:\work\bin2c %~n1.clua %~n1.c %~n1
if errorlevel 1 goto failed
del %~n1.clua
exit 0
failed:
exit 255