no-more-secrets / moonlib

A general-purpose Lua library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

To use this library, append the following to the LUA_PATH variable: $HOME/dev/moonlib/?.lua

e.g.:

export LUA_PATH="$LUA_PATH;$HOME/dev/moonlib/?.lua"

Alternatively, if Lua itself is the driver, you can do this:

local moonlib = string.format( '%s%s', os.getenv( 'HOME' ),
                               '/dev/moonlib/?.lua' )
package.path = string.format( '%s;%s', package.path, moonlib )

Note that it uses a semicolon as a separator.

About

A general-purpose Lua library.

License:MIT License


Languages

Language:Lua 99.7%Language:Makefile 0.3%