feat: some simple UI tweaks to CLI (#3301)
This commit is contained in:
1 parent
02b2a12011
commit
995a529b2f
8 files changed
+27
-17
No files matched your search
@@ -777,6 +777,8 @@ impl AppBundle {
|
||||
/// Run any final tools to produce apks or other artifacts we might need.
|
||||
async fn assemble(&self) -> Result<()> {
|
||||
if let Platform::Android = self.build.build.platform() {
|
||||
self.build.status_running_gradle();
|
||||
|
||||
// make sure we can execute the gradlew script
|
||||
#[cfg(unix)]
|
||||
{
|
||||
|
||||
@@ -29,6 +29,12 @@ impl BuildRequest {
|
||||
});
|
||||
}
|
||||
|
||||
pub(crate) fn status_running_gradle(&self) {
|
||||
_ = self.progress.unbounded_send(BuildUpdate::Progress {
|
||||
stage: BuildStage::RunningGradle,
|
||||
})
|
||||
}
|
||||
|
||||
pub(crate) fn status_build_diagnostic(&self, message: CompilerMessage) {
|
||||
_ = self
|
||||
.progress
|
||||
|
||||
Reference in new issue
Block a user