mirror of
https://github.com/arthur-pbty/optifetch.git
synced 2026-08-01 20:29:33 +02:00
13 lines
261 B
Bash
Executable File
13 lines
261 B
Bash
Executable File
#!/bin/bash
|
|
echo "Compilation d'Optifetch..."
|
|
|
|
# On nettoie l'ancienne compilation puis on lance make
|
|
make clean
|
|
make
|
|
|
|
if [ $? -eq 0 ]; then
|
|
echo "Build réussi ! Exécutable créé : ./optifetch"
|
|
else
|
|
echo "Erreur lors de la compilation."
|
|
exit 1
|
|
fi |