sstadick / cargo-bundle-licenses

Generate a THIRDPARTY file with all licenses in a cargo project.
Apache License 2.0
86 stars 6 forks source link

Climb path and check workspace directory for LICENSE file #32

Closed BlueGreenMagick closed 6 months ago

BlueGreenMagick commented 7 months ago

Fixes #7

This PR fixes issues for crates in workspace whose LICENSE file is in workspace root. If LICENSE file is not found in package root, the directory tree is climbed upwards, and directories with Cargo.toml file is searched for LICENSE file.

sstadick commented 6 months ago

@BlueGreenMagick - thanks for all the PRs! I've set aside some time to go through all this later this week.