From b57bea6f7bae13add1d6235ebb9d706247e78dce Mon Sep 17 00:00:00 2001 From: "Prad Nukala (aider)" Date: Tue, 10 Dec 2024 14:44:02 -0500 Subject: [PATCH] feat: Conditionally install process-compose only if binary not found --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 8954ed031..8671266f1 100644 --- a/Makefile +++ b/Makefile @@ -128,8 +128,10 @@ distclean: clean rm -rf vendor/ get-process-compose: +ifeq (,$(shell which process-compose)) @echo "Installing process-compose" sh -c "$(curl --location https://raw.githubusercontent.com/F1bonacc1/process-compose/main/scripts/get-pc.sh)" -- -d -b ~/.local/bin +endif ######################################## ### Testing