Fixed spacing in migration

This commit is contained in:
DarthMooMancer
2025-03-06 10:13:04 -05:00
parent b0ca3db675
commit 51f181c69e
+2 -1
View File
@@ -146,7 +146,8 @@ function M.migrate()
vim.fn.mkdir(build_dir, "p") vim.fn.mkdir(build_dir, "p")
-- local compile_command = string.format("javac -d %s %s/*.java", out_dir, src_dir) -- local compile_command = string.format("javac -d %s %s/*.java", out_dir, src_dir)
local compile_command = string.format("mv" .. legacy_src_dir .. "*" .. src_dir .. " && mv " .. legacy_out_dir .. "*" .. build_dir .. "&& rm -rd " .. project_root .. "/" .. "root/") -- mv ../* ../
local compile_command = string.format("mv " .. legacy_src_dir .. "* " .. src_dir .. " && mv " .. legacy_out_dir .. "* " .. build_dir .. " && rm -rd " .. project_root .. "/" .. "root/")
local compile_status = vim.fn.system(compile_command) local compile_status = vim.fn.system(compile_command)
if vim.v.shell_error ~= 0 then if vim.v.shell_error ~= 0 then