new scripts

This commit is contained in:
Mark Gregory
2026-10-19 14:11:01 +01:00
parent 7cde037a4b
commit 26a2b448a5
17 changed files with 401 additions and 191 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
LS="$ROOT/rsync-studio-licensing"
find "$LS/app" "$LS/config" "$LS/database" "$LS/routes" -name '*.php' -print0 | while IFS= read -r -d '' f; do php -l "$f" >/dev/null; done
grep -q "implements MustVerifyEmail" "$LS/app/Models/User.php"
grep -q "AdminOnly::class" "$LS/routes/web.stage5.php"
grep -q "middleware(\['auth','verified'\])" "$LS/routes/web.stage5.php"
grep -q "api: __DIR__.'/../routes/api.php'" "$LS/bootstrap/app.php"
grep -q "RsyncStudioLicensingServiceProvider::class" "$LS/bootstrap/providers.php"
grep -q "create_rsync_studio_auth_tables" <(find "$LS/database/migrations" -maxdepth 1 -type f -printf '%f\n')
echo 'Stage 5 integrated licensing portal static verification passed.'