MartinP7r / AckGen

Generate a list of license information for all Swift packages used in your project. For easy *Acknowledgement* views.
MIT License
39 stars 11 forks source link

support multiple license files #21

Closed MattKiazyk closed 6 months ago

MattKiazyk commented 11 months ago

Not all repo's have the specific LICENSE file that AckGen is searching for. Sometimes, license files are named LICENSE.txt

This adds a slight refactor to loop through a list of license files (LICENSE, LICENSE.txt) in the CLI. Future this could be added as an input parameter.

An example of a license with the txt extension is https://github.com/apple/swift-algorithms