Markdown servi en text/markdown (ia.md), vérifié s'il existe
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
1f13a7b58a
commit
8b752be823
@@ -105,6 +105,13 @@ check "sw.js" "text/javascript"
|
||||
check "manifest.webmanifest" "application/manifest\+json"
|
||||
check "__essai__/police.woff2" "font/woff2"
|
||||
check "version.json" "application/json"
|
||||
# Prompt d'accueil pour une IA qui navigue, s'il existe déjà dans app/.
|
||||
if [ -f app/ia.md ]; then
|
||||
check "ia.md" "text/markdown; charset=utf-8"
|
||||
cmp -s <(curl -s --compressed "$base/ia.md") app/ia.md || report "/ia.md diffère de app/ia.md"
|
||||
else
|
||||
echo "test-site : app/ia.md absent, vérification sautée."
|
||||
fi
|
||||
[ "$(curl -s "$base/version.json")" = "{\"commit\": \"$(git rev-parse HEAD)\"}" ] \
|
||||
|| report "version.json ne donne pas le commit courant"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user