test
This commit is contained in:
parent
cbd8bd7254
commit
a2d7ef3282
1 changed files with 6 additions and 5 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue