BUCKannotatedBUCKsource22 lines · 738 B · raw
1# `buck2 run //:dev` — the site with hot reload on http://localhost:4322/,
2# and the jevstrudel Worker beside it (tools/dev/dev.mjs).
3sh_binary(
4    name = "dev",
5    main = "tools/dev/dev.mjs",
6)
7
8# `buck2 run //:preview` — what `nix run .#deploy` would publish, on
9# http://localhost:4324/: the static build and the production Worker
10# (tools/dev/preview.mjs).
11sh_binary(
12    name = "preview",
13    main = "tools/dev/preview.mjs",
14)
15
16# `buck2 run //:check-songs [-- [--speed N] [song …]]` — every song played
17# fast in a silent headless tab on the running dev server, with what Jev did
18# and anything that went wrong (tools/check-songs/check.mjs).
19sh_binary(
20    name = "check-songs",
21    main = "tools/check-songs/check.mjs",
22)