#!/usr/bin/env bash # Row 133 round 2 targeted builder gate (decision 136, sage-0350): business, bus and their consumers, on 89fd2d6fe. # Same command land-work.sh runs per package. One log per package under gate/. set -uo pipefail WT=${1:-$HOME/dewey-scratch/r133/wt2} OUT=$(cd "$(dirname "$0")" && pwd)/gate mkdir -p "$OUT" export TMPDIR=$HOME/dewey-scratch/tmp status=0 for p in business bus tasks webui cli; do start=$(date -u +%FT%TZ) (cd "$WT/packages/$p" && node --test tests/*.test.mjs) >"$OUT/pkg-$p.log" 2>&1 rc=$? counts=$(grep -E '^ℹ (tests|pass|fail|skipped) ' "$OUT/pkg-$p.log" | awk '{printf "%s=%s ", $2, $3}') echo "pkg-$p start=$start end=$(date -u +%FT%TZ) rc=$rc $counts" [ "$rc" -eq 0 ] || status=1 done exit $status