Skip to content

Commit 456ac06

Browse files
committed
fix build scripts
1 parent 76d3387 commit 456ac06

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ An agent without sensors is just a chatbox. OpenCLI provides the **physical laye
1717
### Quick Install (macOS)
1818

1919
```sh
20+
brew tap openclirun/opencli
2021
brew install opencli
2122
```
2223
*(Or build from source using Swift Package Manager)*
@@ -100,7 +101,7 @@ opencli asr | opencli chat | opencli tts
100101

101102
## Community & Docs
102103

103-
- **Website:** [opencli.run](http://opencli.run)
104+
- **Website:** [opencli.run](https://opencli.run)
104105
- **Documentation:** See the `docs/` folder for specific model usage (e.g., `asr-qwen3.md`, `t2i-flux2.md`).
105106

106107
## License

scripts/brew_build_bundle.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,10 @@ rm -rf "$PACKAGE_DIR"
116116
mkdir -p "$PACKAGE_DIR"
117117
cp "$BIN_PATH" "$PACKAGE_DIR/opencli"
118118

119-
mapfile -t BUNDLES < <(find "$PRODUCTS_DIR" -maxdepth 1 -type d -name '*.bundle' | sort)
119+
BUNDLES=()
120+
while IFS= read -r bundle; do
121+
[[ -n "$bundle" ]] && BUNDLES+=("$bundle")
122+
done < <(find "$PRODUCTS_DIR" -maxdepth 1 -type d -name '*.bundle' | sort)
120123
if [[ "${#BUNDLES[@]}" -eq 0 ]]; then
121124
fail "no .bundle resources found under $PRODUCTS_DIR"
122125
fi

scripts/brew_release_all.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,5 +176,7 @@ echo "sha256=$SHA256"
176176
echo "formula=$FORMULA_PATH"
177177

178178
if [[ -n "$TAP_NAME" ]]; then
179-
echo "install_hint=brew tap $TAP_NAME && brew install opencli"
179+
# Homebrew taps drop the "homebrew-" prefix from the GitHub repository name.
180+
HINT_TAP="${TAP_NAME/homebrew-/}"
181+
echo "install_hint=brew tap $HINT_TAP && brew install opencli"
180182
fi

0 commit comments

Comments
 (0)