diff --git a/tasks/update-git-hooks.gradle b/tasks/update-git-hooks.gradle new file mode 100644 index 00000000..f48f1c0c --- /dev/null +++ b/tasks/update-git-hooks.gradle @@ -0,0 +1,7 @@ +//pre-commit 스크립트 실행 권한 부여 +tasks.register('updateGitHooks', Copy) { + from './scripts/pre-commit' + into './.git/hooks' + fileMode 0775 +} +compileJava.dependsOn('updateGitHooks') \ No newline at end of file