Skip to content

defold/extension-teal

Repository files navigation

Using Teal in your project

  1. Add a dependency on a latest release of this extension: https://github.com/defold/extension-teal/tags

    image
  2. Create tlconfig.lua file in the project root with the following content:

    return {
         gen_target = "5.1",
         gen_compat = "off",
         include = {"**/*.tl"}
    }
  3. Create .tl files — those can be required from scripts and lua modules as if they were .lua files

Developing the extension

If you modify teal executable, re-assemble the bin zips:

./make-binaries.sh

If you modify extension code (Java), recompile the jar before commit:

./build_plugin.sh