Benjamin-Dobell / luabundler

CLI tool for bundling several Lua files into a single file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bundle luarocks modules?

retorquere opened this issue · comments

What should I add on the command line to bundle luarocks-installed bundles?

You'll want to add any paths you wish to search as -p arguments.

Lua itself uses the environment variable LUA_PATH. You can print this variable to determine what paths are configured on your system. If it's not set in your shell, you can execute luarocks path to print the environment variables (including LUA_PATH) that LuaRocks sets.

Please note that luabundler takes each individual path as a separate -p <path> argument, it does not accept a semicolon delimited list as one argument.