From 5be258e37d4bf8786d241d4bee9212a75a027ff5 Mon Sep 17 00:00:00 2001 From: "Arnaud (Arhuman) ASSAD" Date: Sun, 17 Aug 2025 19:53:31 +0200 Subject: [PATCH] fix binaries creation --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 5f33920..2f547b1 100644 --- a/Makefile +++ b/Makefile @@ -103,6 +103,10 @@ compose-build: @export MINEXUS_ENV=$${MINEXUS_ENV:-test}; \ echo "Building Docker images for $$MINEXUS_ENV environment..."; \ [ "$$MINEXUS_ENV" = "prod" ] && $(MAKE) certs-prod || true; \ + if [ ! -d "binaries" ] || [ -z "$$(ls -A binaries 2>/dev/null)" ]; then \ + echo "Binaries directory missing or empty, building binaries for all platforms..."; \ + $(MAKE) build-binaries; \ + fi; \ docker compose --env-file .env.$$MINEXUS_ENV build ## compose-run: Run application in specified environment (default: test)