Skip to content
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

gather crates into workspace #285

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

euclio
Copy link
Contributor

@euclio euclio commented May 2, 2021

This enables running commands across all the crates at once, as well as making the crates share a Cargo.lock and an output directory.

@euclio euclio force-pushed the workspace branch 2 times, most recently from a58659b to b95a179 Compare May 2, 2021 23:56
- name: "relm: build async example"
run: cargo build --manifest-path relm-examples/examples/async/Cargo.toml

- name: "relm: build webkit-test example"
Copy link
Owner

Choose a reason for hiding this comment

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

The webkit example was kept separate so that if it fails because the crate is outdated or something, it's easy to see.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it, I can move it back to its own crate. Would you like me to keep the other examples separate as well? The buttons-attribute test appeared to be duplicated.

@euclio euclio force-pushed the workspace branch 3 times, most recently from fc2fe9b to 5885ba7 Compare May 8, 2021 20:04
@euclio
Copy link
Contributor Author

euclio commented May 8, 2021

This is ready for another review. I pulled the webkit example back into its own crate. Also, I noticed the main crate's tests weren't passing so I fixed them and added them to CI.

@euclio
Copy link
Contributor Author

euclio commented Nov 8, 2021

@antoyo Rebased. I decided to leave the examples as-is in their own crates. CI doesn't test them, just builds them. I think the main useful change here is that the main relm crate gets tested in CI now.

@euclio
Copy link
Contributor Author

euclio commented Nov 8, 2021

We could also modify CI to just test and build everything in one go using the --all flag, but I wasn't sure if that's a change you want to make.

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