Skip to content

Commit

Permalink
Add build Gradle task to pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
stoyicker committed Aug 4, 2023
1 parent 13951b3 commit 4b2d17d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .scripts/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 4b2d17d

Please sign in to comment.