astral_technique.zi turns each exercise's session cue timeline into the still physical pose, the double's offset and roll, rope, attention marks and return, tested across all 88 cue boundaries. The practice figure's prepare script now folds MakeHuman's CC0 default rig weights onto its 46 bones and cuts clothing hems exactly along their planes.
19 lines
698 B
Bash
19 lines
698 B
Bash
#!/bin/sh
|
|
set -eu
|
|
root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd)
|
|
bin=${1:-"$root/build/packages/ziran/build/bin"}
|
|
stdlib=${2:-"$root/build/packages/ziran/std"}
|
|
out="$root/build/astral-technique-test"
|
|
mkdir -p "$out"
|
|
cd "$root"
|
|
set -- --root "$root/tests" --module-path "$stdlib" --module-path "std=$stdlib"
|
|
"$bin/zi2zir" "$@" -o "$out/ir" "$root/tests/astral_technique_test.zi"
|
|
for form in source saved; do
|
|
source="$root/tests/astral_technique_test.zi"
|
|
if test "$form" = saved; then
|
|
source="$out/ir/astral_technique_test.zir"
|
|
fi
|
|
LDLIBS=-lm "$bin/zi2c" "$@" --entry astral_technique_test:main --exe -o "$out/$form" "$source"
|
|
"$out/$form/astral_technique_test"
|
|
done
|