Added gitignore creation for c++
This commit is contained in:
1 parent
e2ebe918bd
commit
cbaf74418b
1 file changed
+4
@@ -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")
|
||||
|
||||
Reference in new issue
Block a user