build method
Implementation
Future<bool> build() async {
var script = 'flutter build ${platform.name}';
if (buildName != null) {
script += ' --build-name $buildName';
}
final buildNumber = DateTime.now().millisecondsSinceEpoch ~/ 1000;
script += ' --build-number $buildNumber';
logger.log('πεΌε§θΏθ‘ζε
......');
final result = await runCommand(root, script).then((value) => value.first);
if (result.exitCode != 0) {
logger.log('ζε
ε€±θ΄₯:${result.errText}', status: LogStatus.error);
return false;
}
logger.log('ζε
ζε!', status: LogStatus.success);
return true;
}