[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Using LuaRocks to distribute scripts
- From: Milind Gupta <milind.gupta@...>
- Date: Wed, 15 Jun 2016 15:26:30 -0700
I am looking for a way to distribute a Lua script using LuaRocks. The script Lua file will get installed in the directory which is in the Lua package.path. Can LuaRocks install it in a path that is also accessible to Lua on the command line:
> lua myscript.lua
but it seems to assume that it is a module I think.
What should I do different to install a script so Lua can run it directly?