summaryrefslogtreecommitdiff
path: root/build.zig.zon
diff options
context:
space:
mode:
authorT <t@tjp.lol>2026-05-27 08:04:04 -0600
committerT <t@tjp.lol>2026-05-27 11:46:52 -0600
commit576891dc2ec4d917932a4c396471d4bbbad90c8e (patch)
tree0662d629cf15a2e9cbb51353f6d3abe6d2c6edb5 /build.zig.zon
parentb72a405534d6be019573ee0a806014e2713fe55e (diff)
Finish the hard parts of the lua makeover
- bundle luarocks source in the panto binary - bootstrap process (intended for first `panto` run): - make ~/.local/share/panto/... - write out luarocks sources into it - run luarocks to install luv - new `panto bootstrap` command just runs the bootstrap - `panto bootstrap --force` removes everything and re-bootstraps - new `panto lua` command just runs panto's embedded lua
Diffstat (limited to 'build.zig.zon')
-rw-r--r--build.zig.zon4
1 files changed, 4 insertions, 0 deletions
diff --git a/build.zig.zon b/build.zig.zon
index 82794fc..f7eb08b 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -10,6 +10,10 @@
.url = "https://www.lua.org/ftp/lua-5.4.7.tar.gz",
.hash = "N-V-__8AAIMvFABt-Qcpk24RD10ldEN743D8Q2e19Er8x3dJ",
},
+ .luarocks_src = .{
+ .url = "https://luarocks.github.io/luarocks/releases/luarocks-3.13.0.tar.gz",
+ .hash = "N-V-__8AADZhHwD_K21NLLYGySn7TnLhpLyP8ca2JnXSLgbp",
+ },
},
.paths = .{
"build.zig",