Skip to content

Commit

Permalink
Merge pull request #5 from haliltprkk/feature/install-git-hooks-pre-b…
Browse files Browse the repository at this point in the history
…uild

Depend preBuild install hooks
  • Loading branch information
haliltprkk authored Oct 14, 2023
2 parents db9cb57 + a6b0474 commit e655cd8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ task installGitHook(type: Copy) {
from new File(rootProject.rootDir, 'scripts/pre-commit')
into { new File(rootProject.rootDir, '.git/hooks') }
fileMode 0777
}
}

tasks.getByPath(":app:preBuild").dependsOn installGitHook

0 comments on commit e655cd8

Please sign in to comment.