-
Notifications
You must be signed in to change notification settings - Fork 661
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
Consider using a command runner to wrap the commonly used commands #2271
Comments
Hey, do you have any specific requirements for this? I'd like to work on this if it fine. |
Thanks for your interest! This is just a proposal, I would like to hear @asomers's thought before adding it to Nix:) |
I've never gotten into the habit of using any of those. But I'd be willing to give it a try for Nix. |
Since most commands Nix uses are not standard
cargo
commands, I suggest we use a command runner like just or make to wrap them to avoid typing them over and over again.Currently and personally, the most helpful use case would be to check if an item is gated with the correct feature, to do this, you have to open a Nix doc with the following command:
$ RUSTDOCFLAGS='--cfg docsrs' cargo nightly doc --all-features --no-deps --open
It would be really nice if we could do it with:
Other use cases can be:
The text was updated successfully, but these errors were encountered: