Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix installation and build using luarocks #33

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

ligurio
Copy link
Owner

@ligurio ligurio commented Apr 1, 2025

Fixes #27
Fixes #4

ligurio and others added 5 commits March 31, 2025 20:10
luarocks documentation has been moved from Github's wiki [1] to
repository [2]. The patch fixes a link to description of rockspec
file format.

1. https://github.com/luarocks/luarocks/wiki/
2. https://github.com/luarocks/luarocks/blob/main/docs/index.md
The patch sets all libraries for custom_mutator library in
a one go.
The patch fixes regular expression that replaces branch and
version in rockspec before publishing. Regular expression uses
single quotes, but rockspec uses double quotes and this leads to
broken version and branch update.
Follows up commit 866620f ("ci: update publishing steps").
The patch fixes a broken build testing steps.
The commit e52d181 ("Initial version") introduced
a versioning for `libcustom_mutator` shared library, but seems it
is not actually needed and `SOVERSION` has been removed. The patch
also added a test that installs the module using luarocks,
set environment variables using luarocks and checks that module
was successfully found by Lua interpreter.

Fixes #4
The patch fixes a wrong installation directory for `init.lua`.
Follows up commit 27c9714 ("luzer: introduce init.lua").

Fixes #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

error on loading luzer_impl: loop or previous error loading module 'luzer_impl' Fix building rock
1 participant