SPB Git

spb/zyquo-cloud Public MIT

Native macOS AI chat client for 12 cloud providers — your keys, every cloud model, one beautiful chat.

Swift 97.4% Shell 1.7% Makefile 1%
698 B · 26 lines shellscript
Raw Blame History
1#!/bin/bash2#3#  audit-headers.sh4#  Zyquo Cloud5#6#  Author: Simon-Pierre Boucher7#  Mail: contact@spboucher.ai8#9#  Repository-wide sweep: every code file must carry the Author/Mail header.10#11set -uo pipefail12cd "$(dirname "$0")/.."13missing=014while IFS= read -r file; do15    if ! head -12 "$file" | grep -q "Author: Simon-Pierre Boucher"; then16        echo "MISSING HEADER: $file"17        missing=$((missing+1))18    fi19done < <(find Sources Tests scripts -type f \( -name "*.swift" -o -name "*.sh" \) ; echo Package.swift; echo Makefile)20if [ "$missing" -eq 0 ]; then21    echo "OK — all code files carry the mandatory header."22else23    echo "$missing file(s) missing the header."24    exit 125fi26