ihm_client/scripts/cleanup-deps.sh

24 lines
538 B
Bash
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/bash
set -e
echo "🧹 Nettoyage des dépendances temporaires..."
# Suppression du dossier temporaire
if [ -d "./temp-deps" ]; then
echo " → Suppression de ./temp-deps/"
rm -rf ./temp-deps
echo "✅ Dossier temp-deps supprimé"
else
echo " Aucun dossier temp-deps trouvé"
fi
# Vérification des fichiers WASM
if [ -d "./pkg" ]; then
echo "📁 Fichiers WASM conservés dans ./pkg/"
ls -la ./pkg/
else
echo "⚠️ Aucun fichier WASM trouvé dans ./pkg/"
fi
echo "✅ Nettoyage terminé"