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 68d8337 commit be40741
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 be40741

Please sign in to comment.