card #87: kept ventures/havre/index.html, ventures/havre/tools/build.sh (generated)
This commit is contained in:
1 parent
f4f9c8dd7a
commit
4635b160c6
2 files changed
+7
No files matched your search
@@ -19,6 +19,7 @@
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
<link rel="icon" href="favicon.svg" type="image/svg+xml">
|
||||
<link rel="alternate" type="text/plain" href="llms.txt" title="For agents">
|
||||
<link rel="alternate" type="text/markdown" href="skill.md" title="Skill">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<script type="module" src="app.js"></script>
|
||||
</head>
|
||||
|
||||
@@ -13,6 +13,12 @@ cd "$(dirname "$0")/.."
|
||||
# so the build does
|
||||
rm -rf art fonts tools/paint.py tools/draw.py tools/vendor tests/smoke.py
|
||||
|
||||
# what agents look for stays: .well-known/ (the skills index) and robots.txt are served as they are, so the build
|
||||
# never clears them, and fails if they're gone
|
||||
for f in .well-known/skills/index.json robots.txt; do
|
||||
[ -f "$f" ] || { echo "tools/build.sh: $f is missing: agents look for it" >&2; exit 1; }
|
||||
done
|
||||
|
||||
node tools/cast.mjs # cast/index.js, the harbor's own as the module the page imports, from cast/*.havre.json
|
||||
node --test tests/*.test.mjs
|
||||
|
||||
|
||||
Reference in new issue
Block a user