This repository has been archived on 2023-10-17. You can view files and clone it, but cannot push or open issues or pull requests.
|
#!/bin/sh
|
|
|
|
LUA_FILE=$1
|
|
lua-format "${LUA_FILE}" > "${LUA_FILE}.fmt"
|
|
diff "${LUA_FILE}" "${LUA_FILE}.fmt"
|
|
RET=$?
|
|
rm "${LUA_FILE}.fmt"
|
|
exit ${RET}
|