mirror of
https://github.com/GH05TCREW/pentestagent.git
synced 2026-03-07 14:23:20 +00:00
WIP: prepare for hexstrike subtree
This commit is contained in:
16
scripts/add_hexstrike_subtree.sh
Executable file
16
scripts/add_hexstrike_subtree.sh
Executable 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}."
|
||||
Reference in New Issue
Block a user