From eba51ec9355deb17eaa11f5d62bf9f47ac0d9a2c Mon Sep 17 00:00:00 2001 From: Andrew Barnes Date: Mon, 29 Jun 2026 21:04:38 -0400 Subject: [PATCH 1/2] docs: clarify public source build path --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index cd97fe8a..6ffcc946 100644 --- a/README.md +++ b/README.md @@ -207,6 +207,8 @@ open Fluid.xcodeproj Build and run in Xcode. All dependencies are managed via Swift Package Manager. +For public source builds, use Xcode or the `xcodebuild` command below. The top-level `./build.sh` script is only for the private Fluid Intelligence build setup and is not the public OSS build entrypoint. + ### Build Only (No Signing) ```bash From aa6671840e40e97e2f5f2655905c3e4917757c44 Mon Sep 17 00:00:00 2001 From: Andrew Barnes Date: Wed, 1 Jul 2026 01:21:49 -0400 Subject: [PATCH 2/2] build: make public helper skip FI --- README.md | 6 +++++- build.sh | 19 ++++++++++--------- 2 files changed, 15 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 6ffcc946..951328d1 100644 --- a/README.md +++ b/README.md @@ -207,7 +207,11 @@ open Fluid.xcodeproj Build and run in Xcode. All dependencies are managed via Swift Package Manager. -For public source builds, use Xcode or the `xcodebuild` command below. The top-level `./build.sh` script is only for the private Fluid Intelligence build setup and is not the public OSS build entrypoint. +For public source builds from the command line, `./build.sh` skips the private Fluid Intelligence build setup and runs the unsigned macOS build: + +```bash +./build.sh +``` ### Build Only (No Signing) diff --git a/build.sh b/build.sh index ccd200ae..a630a334 100755 --- a/build.sh +++ b/build.sh @@ -1,19 +1,25 @@ #!/bin/bash # FluidVoice Build Profile Router -# Defaults to the private Fluid Intelligence build for local development. +# Defaults to the public OSS build, which skips private Fluid Intelligence. # # Usage: -# ./build.sh # private FI build +# ./build.sh # public OSS build +# ./build.sh public # public OSS build # ./build.sh fi # private FI build set -euo pipefail PROJECT_DIR="$(cd "$(dirname "$0")" && pwd)" -PROFILE="${1:-${BUILD_PROFILE:-fi}}" +PROFILE="${1:-${BUILD_PROFILE:-public}}" PRIVATE_FI_BUILD_SCRIPT="${PROJECT_DIR}/build_with_FI_incremental.sh" case "${PROFILE}" in + public|oss|incremental|fast) + echo "Running public FluidVoice build without Fluid Intelligence..." + cd "${PROJECT_DIR}" + exec xcodebuild -project Fluid.xcodeproj -scheme Fluid -destination 'platform=macOS' build CODE_SIGNING_ALLOWED=NO + ;; fi|private|dev|full) if [ ! -x "${PRIVATE_FI_BUILD_SCRIPT}" ]; then echo "Private Fluid Intelligence build script is missing:" @@ -23,14 +29,9 @@ case "${PROFILE}" in fi exec "${PRIVATE_FI_BUILD_SCRIPT}" ;; - public|oss|incremental|fast) - echo "Public/OSS builds are not available from this repo entrypoint." - echo "Use the private Fluid Intelligence build: sh build_with_FI_incremental.sh" - exit 1 - ;; *) echo "Unknown build profile: ${PROFILE}" - echo "Valid profiles: fi/private/dev/full" + echo "Valid profiles: public/oss/incremental/fast, fi/private/dev/full" exit 1 ;; esac