fix: install.sh clone llm-functions automatiquement

This commit is contained in:
2026-03-27 11:40:00 +01:00
parent 7e41166f97
commit 982d47e71d
2 changed files with 9 additions and 13 deletions

View File

@@ -25,14 +25,14 @@ python3 -m venv "$CLAUDE_DIR/venv"
echo "OK"
echo ""
echo "=== Construction des outils llm-functions ==="
if [[ -f "$CLAUDE_DIR/llm-functions/Argcfile.sh" ]]; then
(cd "$CLAUDE_DIR/llm-functions" && argc build)
echo "OK"
echo "=== Installation de llm-functions ==="
if [[ ! -f "$CLAUDE_DIR/llm-functions/Argcfile.sh" ]]; then
git clone https://github.com/sigoden/llm-functions.git "$CLAUDE_DIR/llm-functions"
else
echo "WARN : llm-functions non trouvé — lance d'abord :"
echo " git subtree add --prefix .claude/llm-functions https://github.com/sigoden/llm-functions.git main --squash"
echo "déjà présent"
fi
(cd "$CLAUDE_DIR/llm-functions" && argc build)
echo "OK"
echo ""
echo "=== Mise à jour du .gitignore projet ==="