Skip to content
Discussion options

You must be logged in to vote

The issue is that the source archive for your release tag packs everything into a dummy_lux_lib-0.1.0-1 subdirectory.
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

[source]
dir = "dummy_lux_lib-0.1.0-1"

in your lux.toml.

The reason it works with LuaRocks is that LuaRocks is more lenient than Lux when
trying to auto-detect source.dir if it's missing from the rockspec.

I've just opened a PR that should improve Lux's logic for source.dir auto-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…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@rodamaral
Comment options

Comment options

You must be logged in to vote
1 reply
@rodamaral
Comment options

Answer selected by mrcjkb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants