ci: scripts

This commit is contained in:
Dax Raad
2025-07-31 01:25:24 -04:00
parent 50be2aee39
commit 2d9ed06367
7 changed files with 2 additions and 2 deletions

16
script/hooks.bat Normal file
View File

@@ -0,0 +1,16 @@
@echo off
if not exist ".git" (
exit /b 0
)
if not exist ".git\hooks" (
mkdir ".git\hooks"
)
(
echo #!/bin/sh
echo bun run typecheck
) > ".git\hooks\pre-push"
echo ✅ Pre-push hook installed