Bugfix: Fix build, missing relative path
This commit is contained in:
@@ -54,8 +54,8 @@ M.build = function(override)
|
|||||||
end
|
end
|
||||||
|
|
||||||
local cmd = u.is_windows() and
|
local cmd = u.is_windows() and
|
||||||
'cd cmd && go build -o bin.exe && move bin.exe ..\\' or
|
'cd %s\\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 && mv bin ../bin'
|
||||||
|
|
||||||
local command = string.format(cmd, state.settings.bin_path)
|
local command = string.format(cmd, state.settings.bin_path)
|
||||||
local null = u.is_windows() and " >NUL" or " > /dev/null"
|
local null = u.is_windows() and " >NUL" or " > /dev/null"
|
||||||
|
|||||||
Reference in New Issue
Block a user