diff --git a/scripts/project_build.py b/scripts/project_build.py index 4755635..6aedfb7 100644 --- a/scripts/project_build.py +++ b/scripts/project_build.py @@ -27,14 +27,14 @@ class ProjectBuild(Task): def build_apk(self): cmd = f"{self.gradlew()} -p {self.context.temp_project_path} assembleLawnWithQuickstepPlay" app_logger().debug(f"build apk cmd = {cmd}") - return_code, stdout, stderr = CommandUtils.execute(cmd) - app_logger().debug(f"build apk return_code = {return_code} stdout = {stdout} stderr = {stderr}") + CommandUtils.execute_with_real_time_output(cmd) + app_logger().debug(f"build apk end.") def build_aab(self): cmd = f"{self.gradlew()} -p {self.context.temp_project_path} bundleLawnWithQuickstepPlayRelease" app_logger().debug(f"build aab cmd = {cmd}") - return_code, stdout, stderr = CommandUtils.execute(cmd) - app_logger().debug(f"build aab return_code = {return_code} stdout = {stdout} stderr = {stderr}") + CommandUtils.execute_with_real_time_output(cmd) + app_logger().debug(f"build aab end.") def execute(self): self.init()