Skip to content

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 euclio force-pushed the workspace branch 2 times, most recently from 730d80b to 15f712c Compare May 8, 2021 22:51
@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