this repo has no description

run pagefind via deno

altagos.dev 7f3783cb d464711e

verified
+7 -16
+4 -13
.tangled/workflows/build.yml
··· 6 6 7 7 dependencies: 8 8 nixpkgs: 9 - - curl 10 - - dart-sass 11 - - mise 12 - - zip 13 - 14 - environment: 15 - ZIG_VERSION: "0.15.1" 9 + - curl 10 + - dart-sass 11 + - mise 12 + - zip 16 13 17 14 steps: 18 15 - name: Setup mise 19 - environment: 20 - MISE_TRACE: 1 21 16 command: | 22 17 mise trust 23 18 mise install 24 - - name: Setup Zig + Bun 25 - command: | 26 - mise exec zig -- zig version 27 - mise exec bun -- bun -v 28 19 - name: Download statichost cli 29 20 command: | 30 21 curl -so shcli https://www.statichost.eu/shcli
+3 -3
mise.toml
··· 1 1 [tools] 2 - bun = "1.3.3" 2 + deno = "latest" 3 3 watchexec = "latest" 4 4 zig = "0.15.2" 5 5 ··· 7 7 run = "watchexec -q -r -e scss,zig 'zig build serve -- --drafts'" 8 8 9 9 [tasks.watch-index] 10 - run = "watchexec -q -r -e scss,zig,shtml,smd 'zig build -Ddrafts; and bunx -y pagefind --site zig-out/website --serve'" 10 + run = "watchexec -q -r -e scss,zig,shtml,smd 'zig build -Ddrafts; and deno run --allow-env --allow-run npm:pagefind --site zig-out/website'" 11 11 12 12 [tasks.dev] 13 13 run = "zig build serve -- --drafts" 14 14 15 15 [tasks.create-index] 16 - run = "bunx -y pagefind --site zig-out/website" 16 + run = "deno run --allow-env --allow-run npm:pagefind --site zig-out/website" 17 17 18 18 [tasks.dist] 19 19 run = "zig build --summary all --verbose"