feat: lots of improvements to pipeline runner and converted all tasks to new system

This commit is contained in:
Folke Lemaitre 2022-11-28 22:03:44 +01:00
parent 4de10f9578
commit fb84c081b0
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
13 changed files with 381 additions and 200 deletions

View file

@ -33,7 +33,7 @@ return {
{
filter = function(plugin)
return has_task(plugin, function(task)
if task.type ~= "log" then
if task.name ~= "log" then
return
end
local lines = vim.split(task.output, "\n")
@ -53,10 +53,17 @@ return {
end,
title = "Updated",
},
{
---@param plugin LazyPlugin
filter = function(plugin)
return plugin._.cloned
end,
title = "Installed",
},
{
filter = function(plugin)
return has_task(plugin, function(task)
return task.type == "log" and vim.trim(task.output) ~= ""
return task.name == "log" and vim.trim(task.output) ~= ""
end)
end,
title = "Log",