diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-15 03:34:50 +0000 |
commit | def92d1b8e9d373e2f6f27c366d578d97d8960c6 (patch) | |
tree | 2ef34b9ad8bb9a9220e05d60352558b15f513894 /mobile/android/focus-android/quality/pre-push-recommended.sh | |
parent | Adding debian version 125.0.3-1. (diff) | |
download | firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.tar.xz firefox-def92d1b8e9d373e2f6f27c366d578d97d8960c6.zip |
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'mobile/android/focus-android/quality/pre-push-recommended.sh')
-rwxr-xr-x | mobile/android/focus-android/quality/pre-push-recommended.sh | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/mobile/android/focus-android/quality/pre-push-recommended.sh b/mobile/android/focus-android/quality/pre-push-recommended.sh new file mode 100755 index 0000000000..cbc1f6acd4 --- /dev/null +++ b/mobile/android/focus-android/quality/pre-push-recommended.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +# We recommend you run this as a pre-push hook: to reduce +# review turn-around time, we want all pushes to run tests +# locally. Using this hook will guarantee your hook gets +# updated as the repository changes. +# +# This hook tries to run as much as possible without taking +# too long. +# +# You can use it by running this command from the project root: +# `ln -s ../../quality/pre-push-recommended.sh .git/hooks/pre-push` + +# Descriptions for each gradle task below can be found in the +# output of `./gradlew tasks`. +./gradlew -q \ + ktlint \ + detekt \ + assembleFocusDebugAndroidTest \ + testFocusDebugUnitTest + +# Tasks omitted because they take a long time to run: +# - unit test on all variants +# - UI tests +# - lint (compiles all variants) |