[DiscordArchive] What's the sane way to package Eluna scripts as modules for easy deployment and testing?
[DiscordArchive] What's the sane way to package Eluna scripts as modules for easy deployment and testing?
Archived author: Hatepoem • Posted: 2023-02-28T16:00:36.398000+00:00
Original source
What's the sane way to package Eluna scripts as modules for easy deployment and testing?
Archived author: Hatepoem • Posted: 2023-02-28T16:01:02.422000+00:00
Original source
So far every "lua" module I checked only has the *.lua sources in it's root and that's it.
Archived author: Honey • Posted: 2023-02-28T16:07:19.732000+00:00
Original source
`git clone` the repo into the repective subfolder of your lua_scripts folder works fine.
Archived author: Foe • Posted: 2023-02-28T16:13:26.022000+00:00
Original source
Base eluna does not support precompiled bytecode, it compiles during load
Archived author: Foe • Posted: 2023-02-28T16:13:35.395000+00:00
Original source
So you'd just release it as the Lua files
Archived author: Hatepoem • Posted: 2023-02-28T16:13:53.797000+00:00
Original source
And it's up to the deployer/maintainer to deal with my conventions?
Archived author: Foe • Posted: 2023-02-28T16:14:00.941000+00:00
Original source
Yup
Archived author: Hatepoem • Posted: 2023-02-28T16:14:10.044000+00:00
Original source
Feared as much. Thank you.
Archived author: Foe • Posted: 2023-02-28T16:15:22.524000+00:00
Original source
It's not really a massive problem, most people don't even look at the code, they just drop in the file and never touch it again
Archived author: Honey • Posted: 2023-02-28T16:15:52.668000+00:00
Original source
As long as it works, yeah