install: build with --continue
- Commit
d688b4690beb1c935dd5b7e0bb91ee44a727defc- Author
- Vayun Mathur <[email protected]>
- When
- 2026-12-01 23:36 UTC (4 days ago)
- Parents
b918832
Owner request: the install wrapper now passes --continue to Gradle, so one failing module does not starve the other 71 assemble tasks. The script already handles partial builds correctly (it warns and session-installs whichever APKs exist), so this only stops wasting successful work. Also noted in the comment at the call site.
Diff
install
diff --git a/install b/installindex 179b3674a3..f2349a0752 100755--- a/install+++ b/install@@ -693,9 +693,11 @@ fi echo "Running: $SCRIPT_DIR/gradlew $tasks_str$gradle_args_str" echo "" -# Execute with all tasks expanded via index loop (preserving word splitting safety)+# Execute with all tasks expanded via index loop (preserving word splitting safety).+# --continue: one failing module must not starve the rest of the build, and the+# installer below already session-installs whichever APKs exist on failure. set +u-"$SCRIPT_DIR/gradlew" "${TASKS[@]}" "${GRADLE_ARGS[@]}"+"$SCRIPT_DIR/gradlew" --continue "${TASKS[@]}" "${GRADLE_ARGS[@]}" BUILD_EXIT=$? echo ""