$ErrorActionPreference = "Stop"

$repoRoot = (Resolve-Path "$PSScriptRoot\..").Path
$hookPath = Join-Path $repoRoot "githooks"

Write-Host "Configuring git hooks path to: $hookPath"
git config core.hooksPath "$hookPath"
Write-Host "Git hooks configured. Hooks sourced from $hookPath"
