mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2026-11-06 19:01:54 +00:00
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>
21 lines
568 B
Bash
Executable File
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
|