WIP: prepare for hexstrike subtree

This commit is contained in:
giveen
2026-01-11 17:11:45 -07:00
parent 49c0b93b59
commit 48cd4f2a9a
4 changed files with 228 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Helper script to vendor HexStrike into this repo using git subtree.
# Run from repository root.
set -euo pipefail
REPO_URL="https://github.com/0x4m4/hexstrike-ai.git"
PREFIX="third_party/hexstrike"
BRANCH="main"
echo "This will add HexStrike as a git subtree under ${PREFIX}."
echo "If you already have a subtree, use 'git subtree pull' instead.\n"
git subtree add --prefix="${PREFIX}" "${REPO_URL}" "${BRANCH}" --squash
echo "HexStrike subtree added under ${PREFIX}."