| commit | 52e1d5a7e4a372aaf0a04cc88bca1a46f93f61d7 | [log] [tgz] |
|---|---|---|
| author | Matt Schulte <matsch@google.com> | Thu Jan 18 15:30:30 2024 -0800 |
| committer | Matt Schulte <matsch@google.com> | Thu Jan 18 15:30:30 2024 -0800 |
| tree | 166fcf656278087097a04ceffa2b43bb167596e7 | |
| parent | 46ab4f81bb7811786bf7aeaadbed80bb37dd4343 [diff] |
add3prf.py: Support license files with extensions
Some crates place there license files in files with extensions, such as
LICENSE.txt or LICENSE-MIT.md.
We should account for extensions by removing them.
Bug: 321064939
Test: Ran script against `minimal-lexical-0.2.1` crate and added unit
tests
Change-Id: I0c385e8209969c0900909e764460fc551f07c20c