mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-04-03 09:43:39 +00:00
Update Makefile
This commit is contained in:
parent
fd0452e3cc
commit
96b9f67150
8
Makefile
8
Makefile
@ -15,12 +15,12 @@ endif
|
||||
# Configuration for fetching the right binary
|
||||
OS ?= "linux"
|
||||
ARCH ?= "amd64"
|
||||
VERSION ?= "v0.3.1"
|
||||
DOWNLOAD_URL := "https://github.com/logos-storage/logos-storage-nim/releases/download/$(VERSION)/libstorage-${OS}-${ARCH}-$(VERSION).zip"
|
||||
VERSION ?= "v0.3.2"
|
||||
DOWNLOAD_URL := "https://github.com/logos-storage/logos-storage-nim/releases/download/$(VERSION)/libstorage-${OS}-${ARCH}-$(VERSION).zip"
|
||||
|
||||
all: run
|
||||
|
||||
fetch:
|
||||
fetch:
|
||||
@echo "Fetching libstorage from GitHub Actions from: ${DOWNLOAD_URL}"
|
||||
curl -fSL --create-dirs -o $(LIBS_DIR)/libstorage-${OS}-${ARCH}-$(VERSION).zip ${DOWNLOAD_URL}
|
||||
unzip -o -qq $(LIBS_DIR)/libstorage-${OS}-${ARCH}-$(VERSION).zip -d $(LIBS_DIR)
|
||||
@ -38,4 +38,4 @@ endif
|
||||
|
||||
clean:
|
||||
rm -f $(BIN_NAME)
|
||||
rm -Rf $(LIBS_DIR)/*
|
||||
rm -Rf $(LIBS_DIR)/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user