diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/luarocks/build.lua | 3 | ||||
-rw-r--r-- | src/luarocks/loader.lua | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/src/luarocks/build.lua b/src/luarocks/build.lua index c2656fef..44f60df8 100644 --- a/src/luarocks/build.lua +++ b/src/luarocks/build.lua | |||
@@ -93,6 +93,9 @@ end | |||
93 | -- @param rockspec_file string: local or remote filename of a rockspec. | 93 | -- @param rockspec_file string: local or remote filename of a rockspec. |
94 | -- @param need_to_fetch boolean: true if sources need to be fetched, | 94 | -- @param need_to_fetch boolean: true if sources need to be fetched, |
95 | -- false if the rockspec was obtained from inside a source rock. | 95 | -- false if the rockspec was obtained from inside a source rock. |
96 | -- @param minimal_mode boolean: true if there's no need to fetch, | ||
97 | -- unpack or change dir (this is used by "luarocks make"). Implies | ||
98 | -- need_to_fetch = false. | ||
96 | -- @return boolean or (nil, string, [string]): True if succeeded or | 99 | -- @return boolean or (nil, string, [string]): True if succeeded or |
97 | -- nil and an error message followed by an error code. | 100 | -- nil and an error message followed by an error code. |
98 | function build_rockspec(rockspec_file, need_to_fetch, minimal_mode) | 101 | function build_rockspec(rockspec_file, need_to_fetch, minimal_mode) |
diff --git a/src/luarocks/loader.lua b/src/luarocks/loader.lua index 3d421632..258c45a2 100644 --- a/src/luarocks/loader.lua +++ b/src/luarocks/loader.lua | |||
@@ -37,8 +37,8 @@ end | |||
37 | 37 | ||
38 | --- Process the dependencies of a package to determine its dependency | 38 | --- Process the dependencies of a package to determine its dependency |
39 | -- chain for loading modules. | 39 | -- chain for loading modules. |
40 | -- @parse name string: The name of an installed rock. | 40 | -- @param name string: The name of an installed rock. |
41 | -- @parse version string: The version of the rock, in string format | 41 | -- @param version string: The version of the rock, in string format |
42 | function add_context(name, version) | 42 | function add_context(name, version) |
43 | -- assert(type(name) == "string") | 43 | -- assert(type(name) == "string") |
44 | -- assert(type(version) == "string") | 44 | -- assert(type(version) == "string") |