[Android] buildsystem: improve portability and refactor check-all-commits.sh
Nicolas Pomepuy
git at videolan.org
Mon Sep 7 08:38:50 UTC 2026
vlc-android | branch: master | Nicolas Pomepuy <nicolas at videolabs.io> | Wed Jul 29 11:37:58 2026 +0200| [80920b3d15b303b5dac21aa8cf0c60ac498b89ae] | committer: Duncan McNamara
buildsystem: improve portability and refactor check-all-commits.sh
- Move `run_build` and `generate_bar` functions to the global scope.
- Replace Perl-based time formatting with the `date` command for better portability between GNU and BSD/macOS.
- Simplify rebase detection by focusing on the `rebase-merge` directory.
- Fix a bug in `TOTAL_SUCCESS_DURATION` calculation where it incorrectly added multiple durations after a clean build.
- Improve log management by truncating the build log at the start of verification and using append mode during build execution.
> https://code.videolan.org/videolan/vlc-android/commit/80920b3d15b303b5dac21aa8cf0c60ac498b89ae
---
buildsystem/check-all-commits.sh | 157 ++++++++++++++++++++++-----------------
1 file changed, 89 insertions(+), 68 deletions(-)
Diff: https://code.videolan.org/videolan/vlc-android/commit/80920b3d15b303b5dac21aa8cf0c60ac498b89ae
More information about the Android
mailing list