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
+6 -8
View File
@@ -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",
+1 -3
View File
@@ -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()