#!/usr/bin/env bash
set -euo pipefail
# Pass a new empty fixture directory. Use the same fixture on both builds.
fixture_dir=${1:?Usage: seed.sh fixture-directory}
mkdir -p "$fixture_dir"
git init "$fixture_dir"
git -C "$fixture_dir" remote add origin https://github.com/nodejs/node.git
# Start each checkout independently with: T3CODE_DEV_SEED=0 vp run dev
# Pair its browser, then Add project > Local folder > the fixture directory.
# No application database is copied, and no API responses are mocked.
