깃 디스코드 연동

nodejs 설치 필요. 가이드 참조
This commit is contained in:
2026-02-01 13:47:35 +09:00
parent 43e9f670fe
commit 4e852b9da6
5 changed files with 128 additions and 0 deletions

View File

@@ -15,11 +15,15 @@ Write-Host "📋 Copying hook files..." -ForegroundColor Yellow
try {
Copy-Item -Path "git-hooks\pre-commit" -Destination ".git\hooks\pre-commit" -Force
Copy-Item -Path "git-hooks\post-commit" -Destination ".git\hooks\post-commit" -Force
Copy-Item -Path "git-hooks\post-commit.bat" -Destination ".git\hooks\post-commit.bat" -Force
Copy-Item -Path "git-hooks\send-discord.js" -Destination ".git\hooks\send-discord.js" -Force
Write-Host "✅ Git hooks installed!" -ForegroundColor Green
Write-Host ""
Write-Host "Installed hooks:" -ForegroundColor Cyan
Write-Host " - pre-commit: XLSX 데이터 검증" -ForegroundColor White
Write-Host " - post-commit: Discord 알림 전송" -ForegroundColor White
}
catch {
Write-Host "❌ Hook 파일 복사 실패: $_" -ForegroundColor Red