Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Improve workspace handelling #169

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

QuantumEntangledAndy
Copy link

@QuantumEntangledAndy QuantumEntangledAndy commented Aug 3, 2021

I was having issues with this in my workspace projects so I went and fixed that

Additions

  • Use cargo locate-project --workspace to find workspace manifiest
  • Add cargo all which checks all workspaces and all targets
  • Fix issue with paths relative to the cargo manifest root not cwd
  • Adds the --all-targets option to the all varients so that it checks all binaries/examples/tests/benches

Issues related to worskspaces
Fixes #151


Issues related to --all-targets
Fixes #61
Fixes #111 (In terms of --all-targets checking all examples and tests)
Fixes #113

- Use `cargo locate-project --workspace` to find workspace manifiest
- Add `cargo all` which checks all workspaces and all targets
- Fix issue with paths relative to the cargo manifest root
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant