From 79da4193594c379a1e259a7e0a1cea5cae5f3c38 Mon Sep 17 00:00:00 2001 From: Jorge Antonio Diaz-Benito Soriano Date: Fri, 4 Aug 2023 19:31:47 +0200 Subject: [PATCH] Add build Gradle task to pre-commit hook --- .scripts/hooks/pre-commit | 1 + 1 file changed, 1 insertion(+) diff --git a/.scripts/hooks/pre-commit b/.scripts/hooks/pre-commit index 105d8c2a..6f96a6c8 100755 --- a/.scripts/hooks/pre-commit +++ b/.scripts/hooks/pre-commit @@ -15,3 +15,4 @@ rm -rf $REPORT_DIR || true mkdir -p ${REPORT_DIR} parallel --halt now,done=1 ::: "runAndReportIfError ${REPORT_DIR}/ktlint.log ./.scripts/check_ktlint.sh" +parallel --halt now,done=1 ::: "./gradlew clean build"