-
|
Hello! I made a very simple library under In another lx project, if I execute Additionally, the So my questions are:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
|
Hey 👋
That's to be expected.
I'm going to need more context:
|
Beta Was this translation helpful? Give feedback.
-
|
The issue is that the source archive for your release tag packs everything into a If your source archive has a subdirectory, you should specify [source]
dir = "dummy_lux_lib-0.1.0-1"in your The reason it works with LuaRocks is that LuaRocks is more lenient than Lux when I've just opened a PR that should improve Lux's logic for This will make it work with your rockspec. |
Beta Was this translation helpful? Give feedback.
The issue is that the source archive for your release tag packs everything into a
dummy_lux_lib-0.1.0-1subdirectory.Because the archive file name is just "v0.1.0.zip", Lux doesn't auto-detect the subdirectory.
If your source archive has a subdirectory, you should specify
in your
lux.toml.The reason it works with LuaRocks is that LuaRocks is more lenient than Lux when
trying to auto-detect
source.dirif it's missing from the rockspec.I've just opened a PR that should improve Lux's logic for
source.dirauto-detection:This will make it work with your rockspec.
But in general, you should still specify the
source.dir, as not doing so is off-s…