Bugfix: Fix build, missing relative path

This commit is contained in:
Harrison Cramer
2023-09-08 09:44:00 -04:00
parent f05b6f128b
commit 45329f4d69

View File

@@ -54,8 +54,8 @@ M.build = function(override)
end
local cmd = u.is_windows() and
'cd cmd && go build -o bin.exe && move bin.exe ..\\' or
'cd cmd && go build -o bin && mv bin ../bin'
'cd %s\\cmd && go build -o bin.exe && move bin.exe ..\\' or
'cd %s/cmd && go build -o bin && mv bin ../bin'
local command = string.format(cmd, state.settings.bin_path)
local null = u.is_windows() and " >NUL" or " > /dev/null"