Skip to content

Allow xtasks to have more dependencies#4268

Merged
cwfitzgerald merged 2 commits into
gfx-rs:trunkfrom
cwfitzgerald:xtask-recursive
Oct 23, 2023
Merged

Allow xtasks to have more dependencies#4268
cwfitzgerald merged 2 commits into
gfx-rs:trunkfrom
cwfitzgerald:xtask-recursive

Conversation

@cwfitzgerald

Copy link
Copy Markdown
Member

Checklist

  • Run cargo clippy.
  • Run cargo clippy --target wasm32-unknown-unknown if applicable.
  • Add change to CHANGELOG.md. See simple instructions inside file.

As #3873 paves the way for a proper wasm implementation, including a webserver, we want the ability for certain xtask commands to have many more dependencies than the base xtask. This facilitates that. The base xtask has exactly 4 dependencies.

When you ask for a command which needs a certain set of dependencies, it will recurse, adding those dependencies via a feature.

@cwfitzgerald cwfitzgerald requested a review from a team as a code owner October 19, 2023 05:18

@teoxoy teoxoy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cwfitzgerald cwfitzgerald merged commit dd84765 into gfx-rs:trunk Oct 23, 2023
@cwfitzgerald cwfitzgerald deleted the xtask-recursive branch October 23, 2023 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants