Repository Public
1#!/usr/bin/env bash2# Author: Simon-Pierre Boucher — contact@spboucher.ai3# File: Scripts/check-headers.sh4# Description: Fails when a first-party source file lacks its author header.5set -euo pipefail6cd "$(dirname "$0")/.."7MISSING="$(grep -L "Author: Simon-Pierre Boucher" $(find Core App Features Components Tests Scripts -type f \( -name '*.swift' -o -name '*.sh' -o -name '*.py' \)) project.yml Package.swift || true)"8[[ -z "$MISSING" ]] && echo "headers: ok" || { echo "missing header:"; echo "$MISSING"; exit 1; }9