Skip to content
Merged
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
13 changes: 13 additions & 0 deletions lua/simctl/health.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
local M = {}

M.check = function()
vim.health.start("simctl")
local xcrun = vim.fn.executable("xcrun") ~= 0
if xcrun then
vim.health.ok("xcrun command found in $PATH")
else
vim.health.error("xcrun command not found in $PATH. Is Xcode installed?")
end
end

return M
Loading