3 ms·
With Lua, it becomes near impossible for a program like lux to edit the manifest. For example, how would I `lx add <dependency@version>` if the `dependencies`
by mrcjkb 1y ago
With Lua, it becomes near impossible for a program like lux to edit the manifest.
For example, how would I `lx add <dependency@version>` if the `dependencies` table might be generated by a Lua function?
Lux defaults to TOML, but if you really want Lua, it also supports an `extra.rockspec` in the project root, which shares the same format as the luarocks RockSpec format.
- sitkack 1y agoThe function would be "compile time" so that function would be evaluated when you call `lx add <dependency@version>`, I'd also assume that the previous configuration would be cached and a diff shown of dependencies. But I would also accept that it would be a subset of Lua that could define tables, but not contain functions. The data only declarative sublanguage.
- mrcjkb 1y agoWe want to be able to write updated dependency specs to the manifest.
- deleted 1y ago[deleted]