-
-
Notifications
You must be signed in to change notification settings - Fork 358
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
Use clap to generate shell completions #290
Conversation
This looks great. Thank you very much! The automatic deployment in the release process can often be problematic, which leads to a spoiled release. It would be fantastic if you could set up TravisCI for your forked repository and create a fake release (by tagging your branch with some dummy version number, and then I think you would need to:
|
I see you created a release. Did it work? |
CI showed no issues; is that a decent indicator of checking to see if shell completions are installed correctly though? Running
Can confirm completions are working locally. Is there a reliable way to confirm this across the board? |
Ok, thank you! Downloading the release artifacts from your GitHub release page and manually inspecting the archives (and Debian packages) would be great. |
No artifacts seem to have been uploaded: https://github.com/four0000four/hyperfine/releases/tag/v1.9.02 Maybe you need to modify the |
Much appreciated -- I haven't looked into this, but I will, and will let you know if I hit a wall. |
Shell completions are included in each: |
Awesome - very thorough! Thank you 👍 |
Released as v1.10.0. |
It seems like the PowerShell completions are generated but not included in any release file? Is that on purpose? |
Yes, it looks like https://github.com/sharkdp/hyperfine/blob/master/ci/before_deploy.ps1 should have been adapted, too. It would be great, if you could open a short new ticket. @four0000four: FYI |
Yes, exactly |
Re: #288
Hopefully this is analogous to sharkdp/fd#66. Changes to
ci/before_deploy.bash
mirror sharkdp/fd when copying shell completions across.This is the first PR I've submitted with Rust -- still learning OSS and Rust, so any feedback and I'll fix up what I can.