pre-commit hook

This commit is contained in:
Chris Wanstrath 2025-10-07 20:30:12 -07:00
parent 178711cb19
commit b3848c35ee
3 changed files with 7 additions and 2 deletions

4
.githooks/pre-commit Executable file
View File

@ -0,0 +1,4 @@
#!/bin/sh
bun run check || exit 1
bun run build || exit 1

View File

@ -8,7 +8,7 @@
3. From the root of this repo, run:
bun remote:install`
bun remote:install
4. When it's done (it'll reboot) visit:
@ -24,6 +24,7 @@ And to make sure DNS is working:
Running the server will create `~/nose` for you to play with.
git config core.hooksPath .githooks
bun install
bun dev
open localhost:3000

View File

@ -1,5 +1,5 @@
////
// version: ea5b33c
// version: 178711c
// src/js/dom.ts
var content2 = $("content");