fix(bootstrap): simplify dependencies

This commit is contained in:
2024-08-09 02:19:59 +02:00
parent 273d3734e3
commit 6125b49525
2 changed files with 8 additions and 12 deletions
+7 -9
View File
@@ -11,17 +11,15 @@ local utils = require("utils")
-- Install lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.uv.fs_stat(lazypath) then
if utils.os_name == "Windows_NT" then
utils.assert_any_installed({ "pwsh", "powershell", })
utils.assert_any_installed({ "7z", "peazip", "arc", "wzzip", "rar", })
else
utils.assert_any_installed({ "curl", "wget", })
utils.assert_installed("unzip")
utils.assert_installed("gzip")
end
utils.assert_installed("git")
if not os.getenv("CC") then
utils.assert_installed("cc")
end
utils.assert_installed("make")
utils.assert_any_installed({ "curl", "wget", })
utils.assert_installed("unzip")
utils.assert_installed("tar")
utils.assert_installed("gzip")
local resp = vim.system({
"git",