Allow compilation via makefile

This commit is contained in:
Stephan Seitz 2021-09-09 22:11:07 +02:00
parent 045cb86d44
commit a37c97545f
4 changed files with 42 additions and 9 deletions

View file

@ -325,15 +325,7 @@ local function run_install(cache_folder, install_folder, lang, repo, with_sync,
})
end
vim.list_extend(command_list, {
{
cmd = cc,
info = "Compiling...",
err = "Error during compilation",
opts = {
args = vim.tbl_flatten(shell.select_compiler_args(repo, cc)),
cwd = compile_location,
},
},
shell.select_compile_command(repo, cc, compile_location),
shell.select_mv_cmd("parser.so", parser_lib_name, compile_location),
{
cmd = function()