-
Notifications
You must be signed in to change notification settings - Fork 31
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
Add multiple path support #101
Add multiple path support #101
Conversation
@@ -518,7 +518,7 @@ fn multiple_paths() -> TestResult { | |||
assert_eq!(final_build_size, size_after_dry_run_clean); | |||
|
|||
// Run a proper cargo-sweep ("clean") in the target directories | |||
let mut args = vec!["-r", "--time", "0"]; | |||
let mut args = vec!["--time", "0"]; |
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.
We only want to test the functionality for multiple paths, setting both the multiple paths and recursive could cause an error in either one so I just wanted to minimise the test case.
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.
Thanks, this looks good! Just a couple nits :)
Thanks! |
Closes #95.
Adds support to process multiple paths.
Using the --stamps flag together with multiple paths will now cause an error.
Breaking Changes
cargo sweep --toolchains 1 2 3
no longer causes the expected error as 2 and 3 are read as paths.