From 576891dc2ec4d917932a4c396471d4bbbad90c8e Mon Sep 17 00:00:00 2001 From: T Date: Wed, 27 May 2026 08:04:04 -0600 Subject: 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 --- build.zig.zon | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'build.zig.zon') 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", -- cgit v1.3