feat: some simple UI tweaks to CLI (#3301)

This commit is contained in:
Jonathan Kelley authored and GitHub committed 2024-12-06 15:15:42 -08:00
1 parent 02b2a12011
commit 995a529b2f
8 files changed
+27 -17

No files matched your search

+2
View File
@@ -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)]
{
+6
View File
@@ -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