3 ms·
Has anyone used this? In my ~/.bash_profile, I have "eval "$(luarocks path --bin)"" which is very slow, and it needs to be called. How does this work with "lux"
by johnisgood 2y ago
Has anyone used this? In my ~/.bash_profile, I have "eval "$(luarocks path --bin)"" which is very slow, and it needs to be called. How does this work with "lux"?
Additionally, I think there should be examples on the website of typical workflow(s).
Additionally, is "luvit" integrated in some way or another?
Additionally, does it work with LuaJIT? I assume it does, but worth a question.
- mrcjkb 2y ago- There's an equivalent `lx path bin` command, but there's also a `lx run` that lets you run installed packages. - We're still quite early on in development, so documentation and things like error messages will need fleshing out. - We don't have luvit integration yet - Yes, it also works with LuaJIT, either via pkg-config or by installing LuaJIT headers using the `luajit_src` crate.
- johnisgood 2y ago> - Yes, it also works with LuaJIT, either via pkg-config or by installing LuaJIT headers using the `luajit_src` crate. Are there any documentation on this? luarocks works with luajit after I run that specific command, I expect something like that as it is very easy, so I wonder if running "lx path bin" would work.
- mrcjkb 2y agoOnly the `lx --help` and man pages.
- johnisgood 2y agoI will take a look when I get into Lua again. :)