localrocks

Prepend project-local LuaRocks tree to module search paths

$ luarocks install localrocks

localrocks is a small helper that configures Lua to resolve modules from a
project-local LuaRocks tree ("./lua_modules").

This lets you run scripts like:

$ lua -l localrocks script.lua

and have "require" resolve modules installed per-project via:

$ luarocks --tree lua_modules install <rock>

Versions

scm-1dev23 hours ago(revision: 13)0 downloads
1.0.0-17 hours ago2 downloads

Dependencies

lua >= 5.1

Labels

Manifests