#!/bin/bash
set -eu
# Run inside each app checkout after starting its dev server with T3CODE_DEV_SEED=0.
# PARTIAL_CLONE: the same WSL Azure repository cloned with --filter=blob:none.
# T3_DATA: that checkout's isolated data directory.
: "${PARTIAL_CLONE:?}" "${T3_DATA:?}"
node apps/server/src/bin.ts project add "$PARTIAL_CLONE" --title Partial-clone --base-dir "$T3_DATA"
