-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
make: add help target to root Makefile for printing info about availble targets #15087
Conversation
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.
🚀 This is great, thanks for the PR! Some nits below
Super cool! Won't have to reference multiple guides to find a build target now. Could you also add
[1] https://github.com/cilium/cilium/blob/master/Makefile#L7 |
@aditighag It would also be good to mention that it doesn't strip the binaries of debug symbols as well. |
117e552
to
a4ea580
Compare
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.
Very cool!
a4ea580
to
f1b509d
Compare
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.
LGTM, a non-blocking nit below.
f1b509d
to
3bd16ee
Compare
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.
few nits as below, and maybe cilium -> Cilium.
I like your changes with docker related targets 💯, now i don't need to check Makefile code to find correct target. It's super hard to to do grouping for Makefile.
LGTM 💯
3bd16ee
to
bb5e04b
Compare
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.
Nice work, this is really help
ful 🚀
Some spelling consistency suggestions inline, mainly s/golang/Go
as per https://golang.org/doc/faq#go_or_golang
bb5e04b
to
7b14328
Compare
…ble targets Signed-off-by: Deepesh Pathak <deepshpathak@gmail.com>
7b14328
to
80aadba
Compare
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.
🚀
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.
🍬
Adds a new help target to the root Makefile that can be used to print information about the available targets from the Makefile. This can be pretty useful given the large number of make targets we have.
Sample: