Checking an application file | Tarantool
Reference Tooling tt CLI utility Commands Checking an application file

Checking an application file

tt check APP_FILE

tt check checks the specified Tarantool application file 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 .lua extension.
  • the name of a directory containing the init.lua file. In this case, init.lua is checked.

  • Check the syntax of the app.lua file from the instances_enabled directory:

    tt check app
    
  • Check the syntax of the init.lua file from the instance1/ directory inside instances_enabled:

    tt check instance1
    
Found what you were looking for?
Feedback