-
-
Notifications
You must be signed in to change notification settings - Fork 472
hiredis-vip: add new package #8039
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
Conversation
packages/h/hiredis-vip/xmake.lua
Outdated
if not package:config("debug") or package:is_mode("release") then | ||
table.insert(configs, "DEBUG=") | ||
end | ||
os.vrunv("make install ", configs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you should use package.tools.make
to install it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
如果用 package.tools.make的话,发现configs只会在make时生效,第二步执行 make install时就没了,所以直接用的os.vrunv
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think at this case we have to follow existing recipe structure. That is why last lines of recipes should use tool not vrun.
No description provided.