Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lua-rover-scm-1.rockspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ description = {
}
dependencies = {
"argparse ~> 0.5.0",
"luarocks ~> 3.11.1"
"luarocks ~> 3.12.0"
}
build = {
type = "builtin",
Expand Down
1 change: 0 additions & 1 deletion src/luarocks/fetch/git.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ end
-- the fetched source tarball and the temporary directory created to
-- store it; or nil and an error message.
function git.get_sources(rockspec, extract, dest_dir, depth)
assert(rockspec:type() == "rockspec")
assert(type(dest_dir) == "string" or not dest_dir)

local git_cmd = rockspec.variables.GIT
Expand Down
4 changes: 2 additions & 2 deletions src/rover/install.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ local function install(name, version, deps_mode, force)
repos.delete_version(name, version, deps_mode)
end

local opts = build.opts({
local opts = {
need_to_fetch = true,
minimal_mode = false,
deps_mode = deps_mode,
Expand All @@ -74,7 +74,7 @@ local function install(name, version, deps_mode, force)
pin = false,
rebuild = force,
no_install = false,
})
}

if not repos.is_installed(name, version) then
local spec, err = assert(search.find_src_or_rockspec(name, nil, version))
Expand Down