Amélioration de la gestion des dépendances circulaires
This commit is contained in:
@@ -15,11 +15,14 @@ public class CommandExecutor {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!rule.needsUpdate()){
|
||||
System.out.println("bake: '" + rule.getName() + "' is up to date.");
|
||||
if (!rule.needsUpdate()) {
|
||||
if (rule.getName().equals(BakefileParser.getFirstTarget())) {
|
||||
System.out.println("bake: '" + rule.getName() + "' is up to date.");
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
try {
|
||||
for (String command : rule.getCommands()) {
|
||||
System.out.println(command); // Affichage de la commande executée
|
||||
|
||||
Reference in New Issue
Block a user