Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the recursive option of cargo-sweep recurse past Cargo directori…
…es (#78) * Make the recursive option of cargo-sweep recurse past Cargo directories When passing the -r (recursive) option to cargo-sweep, it is supposed to be recursive over the subdirectories of the root path it is given (whether implicit or explicit). cargo-sweep erronously assumed that a Cargo project could not contain unrelated subprojects. This patch lets cargo-sweep keep recursing past cargo roots. The drawback of this patch is that cargo-sweep will need to recurse more, and as such becomes a bit slower to run. Fixes #66 * Fix the empty_project_output test for macos The empty_project_output test doesn't have the same traversing/logging order on macos as it does on whatever os/machine it was written for. This commit tries to improve the situation somewhat by making the test runnable on macos as well, while sacrificing readability and test accuracy. An alternative fix would be to not use regex for the test at all. * Make cargo-sweep output parseable by human-size
- Loading branch information