Files
computer-playbook/scripts/lint/makefile.sh
T
kevinveenbirkenbachandClaude Opus 4.7 626d21726c fix(lint/makefile): correct mbake upstream URL (mavyhq → EbodShojaei)
The reference at scripts/lint/makefile.sh:4 pointed at
github.com/mavyhq/bake which 404s; pypi metadata (mbake project) lists
the canonical homepage as github.com/EbodShojaei/bake.

Reason: tests/external/repository/test_urls_reachable.py was failing
with HTTP 404 on the stale URL.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-09 16:37:00 +02:00

21 lines
568 B
Bash
Executable File

#!/usr/bin/env bash
# shellcheck shell=bash
#
# Lint the project Makefile via mbake (https://github.com/EbodShojaei/bake).
# Reports formatting drift and missing .PHONY declarations against
# referenced rule names. Auto-fix lives in scripts/lint/autoformat.sh.
set -euo pipefail
SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(cd -- "${SCRIPT_DIR}/../.." && pwd)"
cd "${REPO_ROOT}"
if ! command -v mbake >/dev/null 2>&1; then
echo "mbake not installed. Run 'make install-lint' first." >&2
exit 127
fi
mbake format --check Makefile