-
Notifications
You must be signed in to change notification settings - Fork 79
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
Magic support for cargo xtask #207
Labels
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
One annoyance with cargo xtask patterns is that in many cases, the
xtask
command only works from the root of the workspace. Cargo Watch could solve this, though, because things running inside Cargo Watch are already wrapped by nature of running processes from other processes, so we can do magic as part of that wrapping.For example, we could parse cargo config and figure out if an
xtask
alias is defined, and if it is, we could replace it in the command environment (withCARGO_ALIAS_XTASK=...
) with something that always works from the particular working directory we're invoking the command from.[This issue is not a confirmed feature, and may not be implemented.]
The text was updated successfully, but these errors were encountered: