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

OpenResty OPM Compatibility and Upload #17

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

Conversation

billythedummy
Copy link

Changes:

  • Created dist.ini to support building lib as an OpenResty OPM package

  • Moved source files into lib folder because OPM package builder adds all subdirectories; specifying lib_dir as top level directory in dist.ini causes the test folder to be included as well.
    I have not used luarocks before so I did not touch the .rockspec file. Might need to change some stuff there.

  • As a result, changed package.path of test/test.lua from ../?.lua; to ../lib/?.lua;

  • Edited .gitignore to ignore files created by opm build

I hope I got the credentials right in dist.ini. In the meantime, I hope you don't mind the fact that I've uploaded a copy of the package onto OPM under my github handle: billythedummy/SLAXML. Please let me know when you've merged the changes and pushed your build onto OPM, and I'll take it down. I do not wish to contribute to OPM bloat lol

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.

1 participant