Some checks failed
Deploy to Phoenix / deploy (push) Has been cancelled
Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
556 B
Bash
16 lines
556 B
Bash
#!/usr/bin/env bash
|
|
# Clone the four HYBX sidecar repos that don't have local dirs yet.
|
|
# Run from HYBX_Sidecars parent: bash scripts/clone-hybx-sidecars.sh
|
|
# Or from repo root: bash scripts/clone-hybx-sidecars.sh
|
|
set -e
|
|
BASE="${1:-/home/intlc/projects/HYBX_Sidecars}"
|
|
cd "$BASE"
|
|
for repo in card-networks-sidecar securities-sidecar flash-loan-xau-sidecar server-funds-sidecar; do
|
|
if [ -d "$repo/.git" ]; then
|
|
echo "Already exists: $repo"
|
|
else
|
|
git clone "https://gitea.d-bis.org/HYBX/${repo}.git" && echo "Cloned: $repo"
|
|
fi
|
|
done
|
|
echo "Done."
|