fix(bootstrap): simplify dependencies
This commit is contained in:
+6
-8
@@ -11,17 +11,15 @@ local utils = require("utils")
|
|||||||
-- Install lazy.nvim
|
-- Install lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.uv.fs_stat(lazypath) then
|
if not vim.uv.fs_stat(lazypath) then
|
||||||
if utils.os_name == "Windows_NT" then
|
utils.assert_installed("git")
|
||||||
utils.assert_any_installed({ "pwsh", "powershell", })
|
if not os.getenv("CC") then
|
||||||
utils.assert_any_installed({ "7z", "peazip", "arc", "wzzip", "rar", })
|
utils.assert_installed("cc")
|
||||||
else
|
end
|
||||||
|
utils.assert_installed("make")
|
||||||
utils.assert_any_installed({ "curl", "wget", })
|
utils.assert_any_installed({ "curl", "wget", })
|
||||||
utils.assert_installed("unzip")
|
utils.assert_installed("unzip")
|
||||||
utils.assert_installed("gzip")
|
|
||||||
end
|
|
||||||
|
|
||||||
utils.assert_installed("git")
|
|
||||||
utils.assert_installed("tar")
|
utils.assert_installed("tar")
|
||||||
|
utils.assert_installed("gzip")
|
||||||
|
|
||||||
local resp = vim.system({
|
local resp = vim.system({
|
||||||
"git",
|
"git",
|
||||||
|
|||||||
@@ -9,9 +9,7 @@ return {
|
|||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
{
|
{
|
||||||
"nvim-telescope/telescope-fzf-native.nvim",
|
"nvim-telescope/telescope-fzf-native.nvim",
|
||||||
build = "cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release"
|
build = "make",
|
||||||
.. " && cmake --build build --config Release"
|
|
||||||
.. " && cmake --install build --prefix build",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
config = function()
|
config = function()
|
||||||
|
|||||||
Reference in New Issue
Block a user