pre-commit hook
This commit is contained in:
parent
178711cb19
commit
b3848c35ee
4
.githooks/pre-commit
Executable file
4
.githooks/pre-commit
Executable file
|
|
@ -0,0 +1,4 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
bun run check || exit 1
|
||||||
|
bun run build || exit 1
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
3. From the root of this repo, run:
|
3. From the root of this repo, run:
|
||||||
|
|
||||||
bun remote:install`
|
bun remote:install
|
||||||
|
|
||||||
4. When it's done (it'll reboot) visit:
|
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.
|
Running the server will create `~/nose` for you to play with.
|
||||||
|
|
||||||
|
git config core.hooksPath .githooks
|
||||||
bun install
|
bun install
|
||||||
bun dev
|
bun dev
|
||||||
open localhost:3000
|
open localhost:3000
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
////
|
////
|
||||||
// version: ea5b33c
|
// version: 178711c
|
||||||
|
|
||||||
// src/js/dom.ts
|
// src/js/dom.ts
|
||||||
var content2 = $("content");
|
var content2 = $("content");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user