From ba0555f02b6014348578d8f72237baee32c10ab7 Mon Sep 17 00:00:00 2001 From: Eric Coissac Date: Fri, 27 Mar 2026 11:25:51 +0100 Subject: [PATCH] fix: ajouter entrees gitignore projet cible a l'install --- install.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/install.sh b/install.sh index c8c3c46..b34e28d 100755 --- a/install.sh +++ b/install.sh @@ -34,6 +34,23 @@ else echo " git subtree add --prefix .claude/llm-functions https://github.com/sigoden/llm-functions.git main --squash" fi +echo "" +echo "=== Mise à jour du .gitignore projet ===" +GITIGNORE="$PROJECT_DIR/.gitignore" +entries=( + ".claude/venv/" + ".claude/logs/" + ".claude/llm-functions/bin/" + ".claude/llm-functions/cache/" +) +for entry in "${entries[@]}"; do + if ! grep -qxF "$entry" "$GITIGNORE" 2>/dev/null; then + echo "$entry" >> "$GITIGNORE" + echo " ajouté : $entry" + fi +done +echo "OK" + echo "" echo "=== Hooks exécutables ===" chmod +x "$CLAUDE_DIR/hooks/"*.sh