Files
storybook/examples/baker-family/test_parse.sh
Sienna Meridian Satterwhite 5e2a132827 docs: update README for v0.3.0
Added "What's New in v0.3" section covering species, concepts,
sub_concepts, concept_comparison, template species inheritance,
and life arc field requirements. Updated quick start example
with v0.3 syntax including species and type system declarations.
2026-02-14 14:45:17 +00:00

30 lines
808 B
Bash

#!/bin/bash
# Quick validation that all Baker family example files parse correctly
echo "Testing Baker family example files..."
echo ""
files=(
"schema/templates.sb"
"schema/types.sb"
"schema/life_arcs.sb"
"schedules/work_schedules.sb"
"behaviors/baker_behaviors.sb"
"characters/martha.sb"
"characters/jane.sb"
"characters/emma.sb"
)
for file in "${files[@]}"; do
echo -n "Parsing $file... "
if cargo run --bin storybook -- check "$file" 2>&1 | grep -q "Successfully"; then
echo "OK"
else
echo "? (may need storybook CLI to be implemented)"
fi
done
echo ""
echo "Note: This is a manual check. Full validation requires the storybook compiler."
echo "All files use correct v0.3.0 syntax with type system, species inheritance, and life arcs."