Files
AzuTear 441ef2b850
CI - Build & Verify / Build, Typecheck & Hygiene (push) Successful in 59s
CI - Build & Verify / Deploy to award.noveria.net (push) Failing after 53s
Update release notes and deploy workspace
2026-06-29 17:49:54 +02:00

17 lines
425 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
MAX_LINES="${MAX_LINES:-500}"
find Backend frontend/src \
-type f \( -name '*.cs' -o -name '*.ts' -o -name '*.vue' \) \
-not -path '*/bin/*' \
-not -path '*/obj/*' \
-not -path 'Backend/Migrations/*' \
-print0 \
| xargs -0 wc -l \
| awk -v max="$MAX_LINES" '
$2 != "total" && $1 > max { printf "%6d %s\n", $1, $2; found = 1 }
END { exit found ? 1 : 0 }
'