about summary refs log tree commit diff homepage
path: root/build
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-08-03 03:22:24 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-08-03 03:22:24 +0900
commitb4f85e4de9fb802757c2eb6fb1fb25afec30ddcc (patch)
tree4933642565467daa1a66e95ee513c2941e118c57 /build
parentb7f57f887881a5e669c59675f0f12bc7f3a9ae3e (diff)
downloadsite-b4f85e4de9fb802757c2eb6fb1fb25afec30ddcc.tar.gz
Move infra from sr.ht to loang.net
Diffstat (limited to 'build')
-rwxr-xr-xbuild10
1 files changed, 10 insertions, 0 deletions
diff --git a/build b/build
new file mode 100755
index 0000000..fef10f2
--- /dev/null
+++ b/build
@@ -0,0 +1,10 @@
+#!/usr/bin/env nix-shell
+#!nix-shell -i sh -p curl fead python3Packages.formbox htmlq julia-bin nodejs
+set -ex
+curl -Ss https://git.sr.ht/~amolith/fediring.net/blob/main/webring.txt |
+    awk 'NR % 2 { print $2 }' > _libs/fediring
+fead -F _libs/fead/sources -n 4 -l 192\
+  < _libs/fead/in.html > _libs/fead/out.html
+NODE=node julia --project=@. build.jl
+_libs/onlymathml
+_libs/postprocess