Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
set -eo pipefail

export PATH="/opt/homebrew/bin:/usr/local/bin:$PATH"

Comment on lines +4 to +5
Copy link

Copilot AI Apr 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prepending /opt/homebrew/bin and /usr/local/bin to PATH globally can unintentionally change which swift/cmake/etc. binaries are used if the user already has custom toolchains in their existing $PATH. Consider only adding the Homebrew paths when brew/cmake aren’t found, and/or only adding directories that exist and aren’t already present in PATH (optionally include .../sbin).

Copilot uses AI. Check for mistakes.
echo "=============================================="
echo " SwiftLM Build Script "
echo "=============================================="
Expand Down
Loading