-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: Closes #22. A workspace has: - At most 1 "root_pkg" - At least 1 "workspace_members" - At least 1 "default_workspace_members" If there is no root_pkg, the workspace's top-level manifest is known as a "virtual manifest". For example the [serde repo](https://github.com/serde-rs/serde/blob/v1.0.183/Cargo.toml) uses a virtual manifest while the [thiserror repo](https://github.com/dtolnay/thiserror/blob/1.0.44/Cargo.toml) uses a workspace in which the root is not a virtual manifest. The "default_workspace_members" are a subset of the "workspace_members". Most cargo commands run without `-p` will apply to only the default members, such as `cargo check` or `cargo test` or `cargo clippy`. Others apply to all members, like `cargo fmt`. I am not that familiar with how these are used in practice but I have seen non-default members for things like test fixtures. I chose to make Reindeer buckify only the default members for now. Reviewed By: zertosh Differential Revision: D48105958 fbshipit-source-id: 902a35c426ddb91988b1a86d2c01263459fdbe2b
- Loading branch information
1 parent
e429137
commit f2145de
Showing
3 changed files
with
55 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters