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
7 changes: 5 additions & 2 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ PROJECT_DIR="$(dirname "$SCRIPT_DIR")"

cd "$PROJECT_DIR"

# Install the clone-local hooks before any toolchain or submodule checks. A setup
# failure should not leave this checkout able to commit unformatted webview or
# Rust changes; the hook path is shared by every worktree in this clone.
"$SCRIPT_DIR/install-git-hooks.sh"

# Check full Xcode before anything else. On a Command Line Tools-only machine,
# or before the Xcode license is accepted, `xcodebuild -version` fails, and the
# later steps would fail with less direct errors.
Expand Down Expand Up @@ -78,8 +83,6 @@ fi

"$SCRIPT_DIR/ensure-ghosttykit.sh"

"$SCRIPT_DIR/install-git-hooks.sh"

echo "==> Setup complete!"
echo ""
echo "You can now build and run the app:"
Expand Down
Loading