Added gitignore creation for c++

This commit is contained in:
DarthMooMancer
2025-04-30 12:55:41 -04:00
parent e2ebe918bd
commit cbaf74418b
+4
View File
@@ -207,6 +207,10 @@ set(CMAKE_C_STANDARD_REQUIRED ON)
]
}
]]))
utils.write_file(full_project_root .. "/.gitignore", string.format([[
build/
]]))
vim.fn.system(string.format("cd %s/build/ && cmake .. && cmake --build .", full_project_root))
vim.cmd("edit " .. full_project_root .. "/src/main.cpp")