diff --git a/.githooks/pre-commit b/.githooks/pre-commit new file mode 100755 index 0000000..2fedda8 --- /dev/null +++ b/.githooks/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh + +bun run check || exit 1 +bun run build || exit 1 \ No newline at end of file diff --git a/README.md b/README.md index 89862e5..45c9fc6 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/public/bundle.js b/public/bundle.js index 60c6a56..a5e256c 100644 --- a/public/bundle.js +++ b/public/bundle.js @@ -1,5 +1,5 @@ //// -// version: ea5b33c +// version: 178711c // src/js/dom.ts var content2 = $("content");