Checking an application file | Tarantool
Tarantool
Check out the new release policy
Reference 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_available 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_available directory:

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

    tt check instance1
    
Found what you were looking for?
Feedback