feat: @goose in terminal (native terminal support) (#5887)

Co-authored-by: Bradley Axen <baxen@squareup.com>
Co-authored-by: Michael Neale <michael.neale@gmail.com>
Co-authored-by: Douwe Osinga <douwe@squareup.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Douwe Osinga
2025-12-01 07:40:17 +01:00
committed by GitHub
parent fa7ce8ec94
commit 5f50198318
9 changed files with 592 additions and 26 deletions
+21 -6
View File
@@ -12,13 +12,28 @@ source "$SCRIPT_DIR/clippy-baseline.sh"
echo "🔍 Running all clippy checks..."
# Run standard clippy with strict warnings
echo " → Standard clippy rules (strict)"
cargo clippy --all-targets --jobs 2 -- -D warnings
FIX_MODE=0
[[ "$1" == "--fix" ]] && FIX_MODE=1
# Run baseline rules check
run_clippy() {
if [[ "$FIX_MODE" -eq 1 ]]; then
cargo fmt
cargo clippy --all-targets --jobs 2 \
--fix --allow-dirty --allow-staged \
-- -D warnings
else
cargo clippy --all-targets --jobs 2 -- -D warnings
fi
}
if [[ "$FIX_MODE" -eq 1 ]]; then
echo "🛠 Applying fixes..."
else
echo "🔍 Running clippy..."
fi
run_clippy
echo ""
check_all_baseline_rules
echo ""
echo "✅ All lint checks passed!"
echo "✅ Done"