|
|
@ -17,8 +17,8 @@ def main():
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
full_path = os.path.join(cur, filename)
|
|
|
|
full_path = os.path.join(cur, filename)
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
subprocess.call(['luac' + os.environ.get('LUA_VERSION', ''), '-p', full_path])
|
|
|
|
assert not subprocess.call(['luac' + os.environ.get('LUA_VERSION', ''), '-p', full_path])
|
|
|
|
except subprocess.CalledProcessError:
|
|
|
|
except (subprocess.CalledProcessError, AssertionError):
|
|
|
|
err = True
|
|
|
|
err = True
|
|
|
|
sys.exit(int(err))
|
|
|
|
sys.exit(int(err))
|
|
|
|
|
|
|
|
|
|
|
|