From c98e2746bceb5ee507ce96962b142f3c23d0f6d4 Mon Sep 17 00:00:00 2001 From: Arnaud Date: Wed, 15 Oct 2025 09:12:27 +0200 Subject: [PATCH] Debug windows --- Makefile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 38044f3..c7d1343 100644 --- a/Makefile +++ b/Makefile @@ -30,15 +30,16 @@ all: run fetch: @echo "Fetching libcodex from GitHub Actions: ${LATEST_URL}" @curl -fSL --create-dirs -o $(LIBS_DIR)/codex-${OS}-${ARCH}.zip ${LATEST_URL} - @unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR) - @rm -f $(LIBS_DIR)/*.zip + unzip -o -qq $(LIBS_DIR)/codex-${OS}-${ARCH}.zip -d $(LIBS_DIR) + rm -f $(LIBS_DIR)/*.zip build: CGO_ENABLED=1 CGO_CFLAGS="$(CGO_CFLAGS)" CGO_LDFLAGS="$(CGO_LDFLAGS)" go build -o $(BIN_NAME) main.go run: ifeq ($(OS),Windows_NT) - copy libs\libcodex.dll . + dir /b libs + copy .\libs\libcodex.dll . .\$(BIN_NAME) else ./$(BIN_NAME)