windows fixes (#374)

Co-authored-by: Matthew Glazar <strager.nds@gmail.com>
This commit is contained in:
Dax 2025-06-24 18:05:04 -04:00 committed by GitHub
parent a2d3b9f0c8
commit ec001ca02f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 31 additions and 4 deletions

16
scripts/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