mirror of
https://github.com/logos-storage/logos-storage-go-bindings-example.git
synced 2026-01-06 23:43:06 +00:00
Fix Makefile to use OS and ARCH var
This commit is contained in:
parent
043f784359
commit
7a09d02768
2
Makefile
2
Makefile
@ -20,7 +20,7 @@ all: run
|
|||||||
fetch:
|
fetch:
|
||||||
@echo "Fetching libcodex from GitHub Actions: ${LATEST_URL}"
|
@echo "Fetching libcodex from GitHub Actions: ${LATEST_URL}"
|
||||||
@curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${LATEST_URL}
|
@curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${LATEST_URL}
|
||||||
@unzip $(LIBS_DIR)/codex-linux-amd64.zip -d $(LIBS_DIR)
|
@unzip $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR)
|
||||||
@rm -f $(LIBS_DIR)/*.zip
|
@rm -f $(LIBS_DIR)/*.zip
|
||||||
|
|
||||||
build:
|
build:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user