lua-tests/5.4.7

[brief]

Embeddable scripting language, tests

This project is a build2 package repository that provides access to Lua, a powerful, efficient, lightweight, embeddable scripting language. It supports procedural programming, object-oriented programming, functional programming, data-driven programming, and data description.

Official build2

cppget.org queue.cppget.org

cppget.org queue.cppget.org

Usage

Make sure to add the stable section of the cppget.org repository to your project's repositories.manifest to be able to fetch the packages.

:
role: prerequisite
location: https://pkg.cppget.org/1/stable
# trust: ...

If the stable section of cppget.org is not an option then add this Git repository itself instead as a prerequisite.

:
role: prerequisite
location: https://github.com/build2-packaging/lua.git

Add the respective dependencies in your project's manifest file to make the required packages available for import.

depends: liblua ^5.4.7  # C Library for Embedding Lua
depends: lua ^5.4.7     # Lua Interpreter and Compiler

Then use the following lines in your buildfile to import library and executables.

import liblua = liblua%lib{lua}  # Library
import luac = lua%exe{luac}      # Compiler
import lua = lua%exe{luac}       # Interpreter

For backwards compatibility to earlier package versions, use the following line to import lib{lua} from the lua package directly. This is deprecated and should not be used for new projects.

import liblua = lua%lib{lua}

Configuration

Use of GNU readline for Lua Interpreter

The use of the GNU readline library for the Lua interpreter is disabled by default to reduce importation issues during CI runs. If readline is available on your target platform, it is recommended to enable it to improve editing capabilities on the Lua command line.

config [bool] config.lua.readline ?= false

Issues and Notes

Contributing

Thank you in advance for your help and contribution to keep this package up-to-date. Please, file an issue on GitHub for questions, bug reports, or to recommend updating the package version. If you're making a pull request to fix bugs or update the package version yourself, refer to the build2 Packaging Guidelines.

version 5.4.7
license MIT
repository https://pkg.cppget.org/1/testing
download lua-tests-5.4.7.tar.gz
sha256 b3132de3626719e4c8cd7a4fbc7722851dcfb6fc2b6f4efb56e3c7afee1a65a0
project lua
url lua.org/home.html
doc-url lua.org/docs.html
package-url github.com/build2-packaging/lua
package-email packaging@build2.org

Reviews

fail 0
pass 0