#!/usr/bin/env bash # sync-to-flights-front.sh — local dev convenience wrapper. # # Calls scripts/ci/sync-to-gitlab.sh with the local sibling-repo default. # CI uses scripts/ci/sync-to-gitlab.sh directly with a fresh clone target. set -euo pipefail SRC_DIR="$(cd "$(dirname "$0")/.." && pwd)" TARGET_DIR="${1:-/Users/gnezim/_projects/tims/flights-front/Aeroflot.Flights.Front}" "$SRC_DIR/scripts/ci/sync-to-gitlab.sh" "$TARGET_DIR" DEPLOY_ROOT="$(cd "$TARGET_DIR/.." && pwd)" echo echo "Synced app files at $TARGET_DIR" echo echo "Next steps:" echo " cd $TARGET_DIR" echo " pnpm install # if lock file changed" echo " make check # typecheck + lint + test" echo " cd $DEPLOY_ROOT && git diff # review changes"