-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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 the pre-push script work on directories with spaces #105853
Conversation
As a secondary benefit, it's also a lot simpler.
(rustbot has picked a reviewer for you, use r? to override) |
|
||
cd "$ROOT_DIR" | ||
|
||
$COMMAND | ||
./x test tidy |
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 already in a .sh file, so we know there must be a shell available.
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.
can you just run a python script like this?
edit: TIL
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 comment has been minimized.
This comment has been minimized.
aa089a4
to
c754d05
Compare
r=me |
Thanks! @bors r+ rollup (pre-push script isn't tested in CI) |
Make the pre-push script work on directories with spaces As a secondary benefit, it's also a lot simpler. cc `@caass` - would love to have a review if you have time :)
@bors r=Mark-Simulacrum |
💡 This pull request was already approved, no need to approve it again.
|
Rollup of 6 pull requests Successful merges: - rust-lang#105661 (implement the skeleton of the updated trait solver) - rust-lang#105853 (Make the pre-push script work on directories with spaces) - rust-lang#106043 (Move tests) - rust-lang#106048 (Run `tidy` in its own job in PR CI) - rust-lang#106055 (Check arg expressions properly on error in `confirm_builtin_call`) - rust-lang#106067 (A few metadata nits) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
As a secondary benefit, it's also a lot simpler.
cc @caass - would love to have a review if you have time :)