Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize $CARGO_HOME in license file path #12

Merged
merged 4 commits into from
Oct 7, 2022
Merged

Normalize $CARGO_HOME in license file path #12

merged 4 commits into from
Oct 7, 2022

Conversation

Skgland
Copy link
Contributor

@Skgland Skgland commented Oct 7, 2022

An attempt at resolving issue #8

@Skgland
Copy link
Contributor Author

Skgland commented Oct 7, 2022

Regarding the remaining clippy warning I am not sure whether LicenseAndText should derive Eq or if the lint should be allowed for that type.

@Skgland Skgland closed this Oct 7, 2022
@Skgland Skgland reopened this Oct 7, 2022
Copy link
Owner

@sstadick sstadick left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Skgland - thanks for making this! I got part way towards this a while ago and got distracted.

This LGTM. I made one suggestion. I'd also say that we might as well disable the Eq lint if you don't mind doing that. I need to add a rust-toolchain.toml for this to avoid regressions like that.

Once those two things are addressed I'll merge and make a release.

src/found_license.rs Outdated Show resolved Hide resolved
@sstadick sstadick merged commit 8146004 into sstadick:main Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants