cargo-make: "Task not found" with workspace AND "root package"

In crate with workspace AND “root package”:

  • Calling cargo make build/test/etc. ignores “root package”
  • Calling cargo make 'task_name' (without CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE) results in “Task not found”. Adding CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE ignores “root package”.

Basic cargo build/test works fine.

See attachment.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 32 (16 by maintainers)

Commits related to this issue

Most upvoted comments

great news. i was worried I got more ‘windows’ specific issues since i don’t have windows to try it on… so happy its resolved. i’m hoping to officially release it soon

@tower120 thanks for reporting. I think its due to misunderstanding on my part of the spec so i’ll fix that. if i only picked up members from the members attribute and dependencies. root, i only took if no members were defined, but thats my issue, if package is defined, i need to add the root as well. i’ll fix that.