This commit is contained in:
leedongmyung[desktop] 2023-11-16 21:51:00 +09:00
parent cbd8bd7254
commit a2d7ef3282

View file

@ -113,18 +113,19 @@ class Application {
}
c.complete();
await printBuildStep('Build Successfully Complete');
await printBuildStep('Build Successfully Complete', color: Color.magenta);
exit(0);
}
Future printBuildStep(String name) async {
Future printBuildStep(String name, {Color? color}) async {
var colorIn = color ?? Color.green;
await CLI.println(
'************************************************************************************',
Color.green);
await CLI.println('* $name', Color.green);
colorIn);
await CLI.println('* $name', colorIn);
await CLI.println(
'************************************************************************************',
Color.green);
colorIn);
return simpleFuture;
}