Repository navigation
Add urfave_cli_no_docs build tag - #1375
Merged
Merged
Conversation
This is in preparation to make docs optional. Signed-off-by: Kir Kolyshkin <[email protected]>
This removes the resulting binary dependency on cpuguy83/md2man and russross/blackfriday, which saves more than 400 KB (more than 300 KB once stripped) from the resulting binary. Document this in README.
We run test with the tag set (to make sure nothing is broken), and also the check-binary-size target (for informational purposes only). Signed-off-by: Kir Kolyshkin <[email protected]>
Contributor
Author
|
Result of check-binary-size CI job, defaults:
Same with
Are we planning on v3 yet? In there, we can move docs to a separate package, so it won't be compiled in unless explicitly included. |
18 tasks done
Member
🎉 🤘🏼
Added to the list! |
This was referenced May 3, 2022
Contributor
Author
|
v1 backport: #1383 |
1 task
This was referenced Jul 24, 2024
3 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What type of PR is this?
What this PR does / why we need it:
Add urfave_cli_no_docs build tag
This removes the resulting binary dependency on cpuguy83/md2man and
russross/blackfriday, which saves more than 400 KB (more than 300 KB
once stripped) from the resulting binary.
Which issue(s) this PR fixes:
none (although see some discussions in e.g. #1055)
Special notes for your reviewer:
none
Testing
See last commit.
Release Notes