Module luarocks.pack
Module implementing the LuaRocks "pack" command.
Creates a rock, packing sources or binaries.
Functions
| run (arg, version, ...) | Driver function for the "pack" command. |
Functions
- run (arg, version, ...)
-
Driver function for the "pack" command.
Parameters:
arg: string: may be a rockspec file, for creating a source rock, or the name of an installed package, for creating a binary rock.version: string or nil: if the name of a package is given, a version may also be passed....:
Returns:
-
boolean or (nil, string): true if successful or nil followed
by an error message.