#!/usr/bin/env bash
set -euo pipefail

# Sync lodge source to test ship pier and commit

PIER="${TEST_SHIP_DIR:-test-ship}"
rsync -avhl --delete lodge/* "$PIER/lodge"

echo "sending |commit %lodge"
./scripts/dev/dojo-cmd.sh "${TMUX_SESSION:-house-dev}:test-ship" 120 "|commit %lodge"
