The command is xgo -out=maze-wars -hooksdir=.xgohooks/ -targets=windows/amd64 -gcflags= -ldflags='-s -w -X main.defaultHost=https://maze-wars.com' -dest /home/xescugc/repos/maze-wars/dist/maze-wars_windows_amd64_v1/maze-wars.exe ./cmd/client/
I'm doing something wrong?
PD: Ignore a bit all the weird paths, I'm building it with gorelease with few custom changes on it (not related to this issue) that would allow gorelease to easily build with xgo.
I've seen https://github.com/techknowlogick/xgo/issues/10 but on my case I still get that the generated path
-dest
is with rootThe command is
xgo -out=maze-wars -hooksdir=.xgohooks/ -targets=windows/amd64 -gcflags= -ldflags='-s -w -X main.defaultHost=https://maze-wars.com' -dest /home/xescugc/repos/maze-wars/dist/maze-wars_windows_amd64_v1/maze-wars.exe ./cmd/client/
I'm doing something wrong?
PD: Ignore a bit all the weird paths, I'm building it with
gorelease
with few custom changes on it (not related to this issue) that would allowgorelease
to easily build withxgo
.