defold / extension-teal

Defold transpilation support for Teal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Defold transpilation support for Teal

License:MIT License


Languages

Language:Lua 97.3%Language:HTML 2.1%Language:CSS 0.3%Language:Shell 0.1%Language:Java 0.1%Language:Terra 0.1%Language:Batchfile 0.0%