workspace = false
and condition = { env_not_set = ["CARGO_MAKE_CRATE_NAME"]}
to create a top-level task? I would expect it to work with just the former. However, as I'm testing, having only workspace = false
does nothing and adding the env var not set condition means the task is skipped entirely at the crate level and top level.
Makefile.toml
that enables workspace emulation -- then make a task that sets CARGO_MAKE_WORKSPACE_INCLUDE_MEMBERS = "crate-a"
or something and have it run an echo hello world
or something. Then it should be clear to the developer that CARGO_MAKE_WORKSPACE_INCLUDE_MEMBERS
doesn't work as intended with workspace emulation when hello world
is emitted for both crates in the workspace rather than just the one we specified to include
fork