fix: ajouter entrees gitignore projet cible a l'install
This commit is contained in:
17
install.sh
17
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
|
||||
|
||||
Reference in New Issue
Block a user