显示出进度
This commit is contained in:
parent
0bd86b2ba4
commit
38f22576de
|
@ -27,14 +27,14 @@ class ProjectBuild(Task):
|
||||||
def build_apk(self):
|
def build_apk(self):
|
||||||
cmd = f"{self.gradlew()} -p {self.context.temp_project_path} assembleLawnWithQuickstepPlay"
|
cmd = f"{self.gradlew()} -p {self.context.temp_project_path} assembleLawnWithQuickstepPlay"
|
||||||
app_logger().debug(f"build apk cmd = {cmd}")
|
app_logger().debug(f"build apk cmd = {cmd}")
|
||||||
return_code, stdout, stderr = CommandUtils.execute(cmd)
|
CommandUtils.execute_with_real_time_output(cmd)
|
||||||
app_logger().debug(f"build apk return_code = {return_code} stdout = {stdout} stderr = {stderr}")
|
app_logger().debug(f"build apk end.")
|
||||||
|
|
||||||
def build_aab(self):
|
def build_aab(self):
|
||||||
cmd = f"{self.gradlew()} -p {self.context.temp_project_path} bundleLawnWithQuickstepPlayRelease"
|
cmd = f"{self.gradlew()} -p {self.context.temp_project_path} bundleLawnWithQuickstepPlayRelease"
|
||||||
app_logger().debug(f"build aab cmd = {cmd}")
|
app_logger().debug(f"build aab cmd = {cmd}")
|
||||||
return_code, stdout, stderr = CommandUtils.execute(cmd)
|
CommandUtils.execute_with_real_time_output(cmd)
|
||||||
app_logger().debug(f"build aab return_code = {return_code} stdout = {stdout} stderr = {stderr}")
|
app_logger().debug(f"build aab end.")
|
||||||
|
|
||||||
def execute(self):
|
def execute(self):
|
||||||
self.init()
|
self.init()
|
||||||
|
|
Loading…
Reference in New Issue