1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

Rename the build_teal script

This commit is contained in:
uramer 2023-02-11 12:41:30 +01:00
parent 84712b55bb
commit a8d32ebdca
4 changed files with 4 additions and 4 deletions

View File

@ -144,7 +144,7 @@ Teal:
- CI/teal_ci.sh
artifacts:
paths:
- build_teal.zip
- teal_declarations.zip
Ubuntu_GCC_Debug:
extends: .Ubuntu

View File

@ -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

View File

@ -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 <https://gitlab.com/OpenMW/openmw/-/jobs/artifacts/master/raw/build_teal.zip?job=Teal>`_.
In addition to setting up a build process, you will need the `declaration files for the OpenMW API <https://gitlab.com/OpenMW/openmw/-/jobs/artifacts/master/raw/teal_declarations.zip?job=Teal>`_.
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 <my-dcelaration-directory-path>`` 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``.