Checking an application file
$ tt check {INSTANCE | APPLICATION[:APP_INSTANCE]}
tt check checks the specified Tarantool application or instance for syntax errors.
tt searches for APP_FILE inside the instances_enabled directory
specified in the tt configuration file. APP_FILE can be:
- the name of an application file without the
.luaextension. - the name of a directory containing the
init.luafile. In this case,init.luais checked.
Check the syntax of the
app.luafile from theinstances_enableddirectory:$ tt check app
Check the syntax of the
init.luafile from theinstance1/directory insideinstances_enabled:$ tt check instance1
Check all source files of the application stored in the
app/directory insideinstances_enabledin accordance with the instances configuration:$ tt check app
Check the source of the
masterinstance of the application stored in theapp/directory insideinstances_enabled:$ tt check app:master