From b49400ff0cbdc8b4f7ea8e1e26b3c5b216edb7b1 Mon Sep 17 00:00:00 2001 From: Jozef Koval Date: Thu, 30 Jul 2026 18:56:32 +0200 Subject: [PATCH] Fix $$ escaping that broke every Xcode just recipe (#1525) --- Justfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Justfile b/Justfile index 9b1d3a31..a3d6f6b6 100644 --- a/Justfile +++ b/Justfile @@ -26,7 +26,7 @@ check-clean-safety: check: check-clean-safety @echo "Checking prerequisites..." @command -v xcodebuild >/dev/null 2>&1 || (echo "❌ xcodebuild not found. Install full Xcode." && exit 1) - @developer_dir="$$(xcode-select -p 2>/dev/null)"; case "$$developer_dir" in *.app/Contents/Developer) ;; *) echo "❌ Full Xcode is not selected. Run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer"; exit 1;; esac + @developer_dir="$(xcode-select -p 2>/dev/null)"; case "$developer_dir" in *.app/Contents/Developer) ;; *) echo "❌ Full Xcode is not selected. Run: sudo xcode-select -s /Applications/Xcode.app/Contents/Developer"; exit 1;; esac @xcodebuild -version @echo "✅ Development environment ready (a signing identity is not required for just build)" @@ -35,7 +35,7 @@ build: check @xcodebuild -project "{{project}}" -scheme "{{macos_scheme}}" -configuration Debug -derivedDataPath "{{derived_data}}" CODE_SIGNING_ALLOWED=NO build run: build - @app="{{derived_data}}/Build/Products/Debug/bitchat.app"; test -d "$$app" || (echo "❌ Built app not found at $$app" && exit 1); open "$$app" + @app="{{derived_data}}/Build/Products/Debug/bitchat.app"; test -d "$app" || (echo "❌ Built app not found at $app" && exit 1); open "$app" # Backward-compatible alias for the old quick-run recipe. dev-run: run