Skip to content

armgit / raea

Public Imported from GitHub
0

Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.

T1f: what release.yml's third run found on Windows: check-cli compares cli.md's text, not its line ends, since a Windows checkout has CRLF (Git's autocrlf) and raea's help LF; the run failed before packing, so it left no zip to look into

shinyobjectzac27341206fc
diff --git a/tools/skills.sh b/tools/skills.sh
index ed91fe10..7eb0f1e2 100755
--- a/tools/skills.sh
+++ b/tools/skills.sh
@@ -348,7 +348,8 @@ case "${1:-}" in
R=$(raea_bin)
[ -x "$R" ] || { echo "FAIL skills: no raea to read the help from (RAEA_BIN, or build raea-cli)"; exit 1; }
d=$(mktemp)
- if ! diff -u sdk/skills/raea/reference/cli.md <(gen_cli) > "$d"; then
+ # a Windows checkout has CRLF line ends (Git's autocrlf) and the help's are LF: only the text is compared
+ if ! diff -u --strip-trailing-cr sdk/skills/raea/reference/cli.md <(gen_cli) > "$d"; then
echo "FAIL skills: sdk/skills/raea/reference/cli.md:1: differs from the help of $R; fix: tools/skills.sh gen with a raea built from this tree, and commit it"
head -40 "$d"; rm -f "$d"; exit 1
fi