diff options
Diffstat (limited to 'check.lua')
| -rw-r--r-- | check.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -35,7 +35,7 @@ local function check() assert(run('/bin/cp', {'-cR', assert(os.getenv('HOME')) .. '/.local/share/panto/rocks', data .. '/rocks'}) == 0) local source = 'paths=[' .. json.encode(root .. '/extensions') .. ']' if os.getenv('PANTO_CHECK_ROCK') == '1' then - assert(run('luarocks', {'--lua-version','5.4','--tree',data .. '/rocks/lua-5.4.7','make','--deps-mode=none','panto-antigravity-scm-1.rockspec'}, {cwd=root}) == 0) + assert(run('luarocks', {'--lua-version','5.4','--tree',data .. '/rocks/lua-5.4.7','make','--deps-mode=none'}, {cwd=root}) == 0) source = 'rocks=["panto-antigravity"]' end write(cfg .. '/config.toml', '[extensions]\n' .. source .. [[ |
