From 700df5bc9d55625af0f620481060618643bb8ddd Mon Sep 17 00:00:00 2001 From: laiiihz Date: Wed, 13 Jan 2021 13:58:42 +0800 Subject: [PATCH] 1.3.30+223 --- pubspec.yaml | 2 +- tool/grind.dart | 10 +++++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/pubspec.yaml b/pubspec.yaml index 69e316c..cbbe9b1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: recook description: Recook Market App. publish_to: "none" -version: 1.3.22-20201221+215 +version: 1.3.30+223 environment: sdk: ">=2.10.0 <3.0.0" diff --git a/tool/grind.dart b/tool/grind.dart index 0ea6f05..a3f5307 100644 --- a/tool/grind.dart +++ b/tool/grind.dart @@ -38,9 +38,13 @@ Future buildApk() async { } @Task() -rawBuild({bool verbose = false}) async { - String getLine = stdin.readLineSync(); - stdout.write(getLine); +Future buildDev() async { + stdout.write("Build Dev APK 📦\n"); + stdout.write("BUILDINGAPK\n"); + await Process.start('flutter', ['build', 'apk']).then((proc) async { + await stdout.addStream(proc.stdout); + await stderr.addStream(proc.stderr); + }); } ///签名