diff --git a/updater/.gitignore b/go/cmd/updater/.gitignore similarity index 100% rename from updater/.gitignore rename to go/cmd/updater/.gitignore diff --git a/updater/go.mod b/go/cmd/updater/go.mod similarity index 100% rename from updater/go.mod rename to go/cmd/updater/go.mod diff --git a/updater/go.sum b/go/cmd/updater/go.sum similarity index 100% rename from updater/go.sum rename to go/cmd/updater/go.sum diff --git a/updater/launcher_darwin.go b/go/cmd/updater/launcher_darwin.go similarity index 100% rename from updater/launcher_darwin.go rename to go/cmd/updater/launcher_darwin.go diff --git a/updater/launcher_linux.go b/go/cmd/updater/launcher_linux.go similarity index 100% rename from updater/launcher_linux.go rename to go/cmd/updater/launcher_linux.go diff --git a/updater/launcher_windows.go b/go/cmd/updater/launcher_windows.go similarity index 100% rename from updater/launcher_windows.go rename to go/cmd/updater/launcher_windows.go diff --git a/updater/main.go b/go/cmd/updater/main.go similarity index 100% rename from updater/main.go rename to go/cmd/updater/main.go diff --git a/updater/updater.go b/go/cmd/updater/updater.go similarity index 100% rename from updater/updater.go rename to go/cmd/updater/updater.go diff --git a/libs/build_go.sh b/libs/build_go.sh index aae8330..805aa92 100755 --- a/libs/build_go.sh +++ b/libs/build_go.sh @@ -16,7 +16,7 @@ mkdir -p $DEST export CGO_ENABLED=0 #### Go: updater #### -pushd updater +pushd go/cmd/updater [ "$GOOS" == "darwin" ] || go build -o $DEST -trimpath -ldflags "-w -s" [ "$GOOS" == "linux" ] && mv $DEST/updater $DEST/launcher || true popd