From c4b4c05ea715257b98d90cdc80d61aef2d1db274 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EB=82=98=EC=A0=9C=EB=B2=95?= Date: Thu, 19 Sep 2024 22:23:17 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20pre-commit=20=EC=8A=A4=ED=81=AC?= =?UTF-8?q?=EB=A6=BD=ED=8A=B8=20=EC=8B=A4=ED=96=89=20=EA=B6=8C=ED=95=9C=20?= =?UTF-8?q?Task=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tasks/update-git-hooks.gradle | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tasks/update-git-hooks.gradle 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