File tree Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Expand file tree Collapse file tree 3 files changed +7
-10
lines changed Original file line number Diff line number Diff line change 2020# Configuration for fetching the right binary
2121OS ?= "linux"
2222ARCH ?= "amd64"
23- VERSION ?= "v0.0.17"
24- DOWNLOAD_URL ?= "https://github.com/codex-storage/codex-go-bindings/releases/latest/download/codex-${OS}-${ARCH}.zip"
25-
26- ifneq ($(VERSION ) ,)
27- DOWNLOAD_URL := "https://github.com/codex-storage/codex-go-bindings/releases/download/$(VERSION)/codex-${OS}-${ARCH}.zip"
28- endif
23+ VERSION ?= "v0.0.20"
2924
3025all : run
3126
3530 unzip -o -qq $(LIBS_DIR ) /codex-${OS} -${ARCH} .zip -d $(LIBS_DIR )
3631 rm -f $(LIBS_DIR ) /* .zip
3732# Update the path to the shared library on macOS
38- ifeq ($(UNAME_S ) ,Darwin)
39- install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
40- endif
33+ # ifeq ($(UNAME_S),Darwin)
34+ # install_name_tool -id @rpath/libcodex.dylib $(LIBS_DIR)/libcodex.dylib
35+ # endif
4136
4237build :
4338 CGO_ENABLED=1 CGO_CFLAGS=" $( CGO_CFLAGS) " CGO_LDFLAGS=" $( CGO_LDFLAGS) " go build -o $(BIN_NAME ) main.go
Original file line number Diff line number Diff line change @@ -2,4 +2,4 @@ module example
22
33go 1.25.1
44
5- require github.com/codex-storage/codex-go-bindings v0.0.19
5+ require github.com/codex-storage/codex-go-bindings v0.0.20
Original file line number Diff line number Diff line change @@ -18,3 +18,5 @@ github.com/codex-storage/codex-go-bindings v0.0.18 h1:0l9XEoH9O5Akg7KCJreZq5jQxd
1818github.com/codex-storage/codex-go-bindings v0.0.18 /go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg =
1919github.com/codex-storage/codex-go-bindings v0.0.19 h1:zhEhwzcavvYdfkHpB5BH+PaqYvQ4VonIKhebS1vbKh0 =
2020github.com/codex-storage/codex-go-bindings v0.0.19 /go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg =
21+ github.com/codex-storage/codex-go-bindings v0.0.20 h1:vK9jU8vafSJkMpOEHdPiQ9S8owSGUaPGVUxb7hKaIck =
22+ github.com/codex-storage/codex-go-bindings v0.0.20 /go.mod h1:8yC11Vr1Mu5sqZyQ33GaSCr0uUIbQnGkm0aWqZj62Kg =
You can’t perform that action at this time.
0 commit comments