.PHONY: check test lint fmt fmt-check secret-scan check: lint fmt-check secret-scan test test: @echo "Running tests..." @if [ -d tests ] && ls tests/test-*.sh >/dev/null 2>&1; then \ for t in tests/test-*.sh; do echo " $$t"; bash "$$t"; done; \ else \ echo " No tests found"; \ fi lint: @echo "Linting..." @if command -v shellcheck >/dev/null 2>&1; then \ find . -name '*.sh' -not -path './.git/*' -not -path './node_modules/*' -exec shellcheck {} +; \ else \ echo " shellcheck not installed, skipping"; \ fi fmt: @echo "No formatter configured for shell scripts" fmt-check: @echo "No format check for shell scripts" secret-scan: bash tools/secret-scan.sh .