mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-03 22:13:07 +00:00
Update Go binding version
This commit is contained in:
parent
5f888b89bc
commit
bcfb27822b
6
Makefile
6
Makefile
@ -15,7 +15,7 @@ endif
|
|||||||
# Configuration for fetching the right binary
|
# Configuration for fetching the right binary
|
||||||
OS ?= "linux"
|
OS ?= "linux"
|
||||||
ARCH ?= "amd64"
|
ARCH ?= "amd64"
|
||||||
VERSION ?= "v0.0.20"
|
VERSION ?= "v0.0.21"
|
||||||
DOWNLOAD_URL := "https://github.com/codex-storage/codex-go-bindings/releases/download/$(VERSION)/codex-${OS}-${ARCH}.zip"
|
DOWNLOAD_URL := "https://github.com/codex-storage/codex-go-bindings/releases/download/$(VERSION)/codex-${OS}-${ARCH}.zip"
|
||||||
|
|
||||||
all: run
|
all: run
|
||||||
@ -32,10 +32,6 @@ build:
|
|||||||
run:
|
run:
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
pwsh -File $(CURDIR)/.github/scripts/run-windows.ps1 -BinaryName $(BIN_NAME)
|
pwsh -File $(CURDIR)/.github/scripts/run-windows.ps1 -BinaryName $(BIN_NAME)
|
||||||
else ifeq ($(UNAME_S),Darwin)
|
|
||||||
# Instead of relying on install_name_tool, we can define DYLD_LIBRARY_PATH
|
|
||||||
# DYLD_LIBRARY_PATH=$(LIBS_DIR) ./$(BIN_NAME)
|
|
||||||
./$(BIN_NAME)
|
|
||||||
else
|
else
|
||||||
./$(BIN_NAME)
|
./$(BIN_NAME)
|
||||||
endif
|
endif
|
||||||
|
|||||||
2
go.mod
2
go.mod
@ -2,4 +2,4 @@ module example
|
|||||||
|
|
||||||
go 1.25.1
|
go 1.25.1
|
||||||
|
|
||||||
require github.com/codex-storage/codex-go-bindings v0.0.20
|
require github.com/codex-storage/codex-go-bindings v0.0.21
|
||||||
|
|||||||
2
go.sum
2
go.sum
@ -20,3 +20,5 @@ github.com/codex-storage/codex-go-bindings v0.0.19 h1:zhEhwzcavvYdfkHpB5BH+PaqYv
|
|||||||
github.com/codex-storage/codex-go-bindings v0.0.19/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
|
github.com/codex-storage/codex-go-bindings v0.0.19/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
|
||||||
github.com/codex-storage/codex-go-bindings v0.0.20 h1:vK9jU8vafSJkMpOEHdPiQ9S8owSGUaPGVUxb7hKaIck=
|
github.com/codex-storage/codex-go-bindings v0.0.20 h1:vK9jU8vafSJkMpOEHdPiQ9S8owSGUaPGVUxb7hKaIck=
|
||||||
github.com/codex-storage/codex-go-bindings v0.0.20/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
|
github.com/codex-storage/codex-go-bindings v0.0.20/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
|
||||||
|
github.com/codex-storage/codex-go-bindings v0.0.21 h1:DAwXw2Xq7wyKyI5j3Jk8ZYBruFP9dOpqEeVMOyEsJxA=
|
||||||
|
github.com/codex-storage/codex-go-bindings v0.0.21/go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg=
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user