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

Suggestion: add clib package manager support #397

RaZeR-RBI opened this issue Apr 13, 2019 · 2 comments


None yet
2 participants
Copy link

commented Apr 13, 2019

What do you think about adding support for clib package manager? I've used it for a small project, seems very simple to use and install, but it doesn't provide any ways to compile the dependencies. It has a package.json definition which looks similar to npm one, which should be not very hard to parse.

I can try to implement it myself and send a PR if you don't mind 😃


This comment has been minimized.

Copy link

commented Apr 13, 2019

Ok, you can refer to

Then implement modules /package/manager/clib/find_package.lua and install_package.lua

And run

cd projectdir
xmake l package.manager.find_package xxx

to test these module interfaces.

@waruqi waruqi added this to the v2.2.6 milestone Apr 15, 2019

waruqi added a commit that referenced this issue Apr 15, 2019


This comment has been minimized.

Copy link

commented Apr 15, 2019



add_requires("clib::clibs/bytes@0.0.4", {alias = "bytes"})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.