Installing
1 Installing from Git
Templet for Lua is available from a Git repository:
git clone https://git.colberg.org/peter/lua-templet
In the repository, checkout the latest release version:
git checkout 1.0.2
If you have GnuPG, verify that the tag is signed by the following key:
git tag -v 1.0.2
Primary key fingerprint: 2997 6EC2 2BD1 EBBC CC77 F3A6 183B D5ED 3527 8611
Subkey fingerprint: 983B F9D0 F02A 6014 0CEC 529F 767E 12A8 C92A 31CB
The module is accompanied by a test suite:
make test
2 Installing from LuaRocks
Templet for Lua is available from LuaRocks:
luarocks install --local templet
You may wish to remove older versions before installing:
luarocks remove --local templet
To use the module, set the Lua module path in your shell’s startup file:
eval $(luarocks path)
If the LuaRocks mirror is not available, install from the Git repository above:
luarocks install --local rockspec/templet-1.0.2-1.rockspec
To install the module directly from the working tree, use:
luarocks make --local rockspec/templet-1.0.2-1.rockspec
In this case you must manually checkout the corresponding version beforehand.