From 2993e2b1998b71d611776b9c8750a65a086406be Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 21 Jul 2026 08:23:40 +0000 Subject: [PATCH] Align shell format and lint target file sets shfmt targeted ci/* (every file) while shellcheck targeted ci/*.sh, so a .sh.jinja script like rust/ci/publish-binary.sh.jinja got format-checked but never lint-checked. Restrict the shfmt globs to *.sh so formatting and linting operate on the same set of shell scripts. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01LwSuV4CHDz8vp1TDAXJwdT --- Makefile | 4 ++-- rust/Makefile.jinja | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 65f3ad4..aef1b9d 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ default: .PHONY: check-shell-formatting check-shell-formatting: - shfmt --simplify --diff ci/* rust/ci/* + shfmt --simplify --diff ci/*.sh rust/ci/*.sh .PHONY: check-yaml-formatting check-yaml-formatting: @@ -12,7 +12,7 @@ check-yaml-formatting: .PHONY: fix-shell-formatting fix-shell-formatting: - shfmt --simplify --write ci/* rust/ci/* + shfmt --simplify --write ci/*.sh rust/ci/*.sh .PHONY: fix-yaml-formatting fix-yaml-formatting: diff --git a/rust/Makefile.jinja b/rust/Makefile.jinja index 6546df3..0a98fe0 100644 --- a/rust/Makefile.jinja +++ b/rust/Makefile.jinja @@ -26,11 +26,11 @@ fix-rust-formatting: .PHONY: check-shell-formatting check-shell-formatting: - shfmt --simplify --diff ci/* + shfmt --simplify --diff ci/*.sh .PHONY: fix-shell-formatting fix-shell-formatting: - shfmt --simplify --write ci/* + shfmt --simplify --write ci/*.sh .PHONY: check-python-formatting check-python-formatting: