From a8d32ebdca4a6700e7b25d39a6ecff9a5abc5f53 Mon Sep 17 00:00:00 2001 From: uramer Date: Sat, 11 Feb 2023 12:41:30 +0100 Subject: [PATCH] Rename the build_teal script --- .gitlab-ci.yml | 2 +- CI/teal_ci.sh | 4 ++-- docs/{build_teal.sh => generate_teal_declarations.sh} | 0 docs/source/reference/lua-scripting/teal.rst | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename docs/{build_teal.sh => generate_teal_declarations.sh} (100%) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e9be1a39af..16d668a863 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -144,7 +144,7 @@ Teal: - CI/teal_ci.sh artifacts: paths: - - build_teal.zip + - teal_declarations.zip Ubuntu_GCC_Debug: extends: .Ubuntu diff --git a/CI/teal_ci.sh b/CI/teal_ci.sh index f33596d6a3..722c39f7a8 100755 --- a/CI/teal_ci.sh +++ b/CI/teal_ci.sh @@ -43,6 +43,6 @@ LUAROCKS=~/luarocks/bin export LUAROCKS popd pushd docs -./build_teal.sh ../build_teal +./generate_teal_declarations.sh ../teal_declarations popd -zip build_teal.zip -r build_teal +zip teal_declarations.zip -r teal_declarations diff --git a/docs/build_teal.sh b/docs/generate_teal_declarations.sh similarity index 100% rename from docs/build_teal.sh rename to docs/generate_teal_declarations.sh diff --git a/docs/source/reference/lua-scripting/teal.rst b/docs/source/reference/lua-scripting/teal.rst index 0b28a57146..4ba4f2d507 100644 --- a/docs/source/reference/lua-scripting/teal.rst +++ b/docs/source/reference/lua-scripting/teal.rst @@ -24,7 +24,7 @@ All of your scripts (i. e. the ``scripts`` directory) should be within this dire .. note:: You can use ``cyan init`` to set up a directory for a Teal project automatically. -In addition to setting up a build process, you will need the `declaration files for the OpenMW API `_. +In addition to setting up a build process, you will need the `declaration files for the OpenMW API `_. Unpack them into a directory of your choice, and add that path to the ``include_dir`` option in your ``tlconfig.lua``. Alternatively, you can add ``-I `` as an agument to ``Cyan`` commands. After everything is ready, run ``cyan build`` in the same directory as ``tlconfig.lua``. It will find all the ``.tl`` files in the ``source_dir``, and put compiled ``.lua`` files at the same relative paths inside ``build_dir``.