Specify default-members for virtual workspace
This commit is contained in:
parent
99cd70b430
commit
f5e27997dd
@ -1,2 +1,4 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
members = ["crates/*", "examples/*", "xtask"]
|
members = ["crates/*", "examples/*", "xtask"]
|
||||||
|
# xtask should only be compiled when invoked explicitly
|
||||||
|
default-members = ["crates/*", "examples/*"]
|
||||||
|
@ -71,7 +71,7 @@ impl CiTask {
|
|||||||
cmd!("rustup run stable cargo check -p ruma-identifiers --no-default-features").run()?;
|
cmd!("rustup run stable cargo check -p ruma-identifiers --no-default-features").run()?;
|
||||||
|
|
||||||
// 2. Run tests
|
// 2. Run tests
|
||||||
let workspace_res = cmd!("rustup run stable cargo test --workspace --features __ci").run();
|
let workspace_res = cmd!("rustup run stable cargo test --features __ci").run();
|
||||||
let events_compat_res =
|
let events_compat_res =
|
||||||
cmd!("rustup run stable cargo test -p ruma-events --features compat compat").run();
|
cmd!("rustup run stable cargo test -p ruma-events --features compat compat").run();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user