mono0926 / LicensePlist

A license list generator of all your dependencies for iOS applications
https://www.slideshare.net/mono0926/licenseplist-a-license-list-generator-of-all-your-dependencies-for-ios-applications
MIT License
2.42k stars 145 forks source link

feature(yaml): replace yaml parser library to support multi new line #218

Closed RyuNen344 closed 1 year ago

RyuNen344 commented 1 year ago

YamlSwift can't parse yaml like below

manual:
  - source: https://github.com/firebase/firebase-ios-sdk
    name: Firebase
    version: 4.0.0
    body: |2
                                      Apache License
                                Version 2.0, January 2004
                              http://www.apache.org/licenses/
        TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION

so I replaced yaml parser Library, YamlSwift to Yams

RyuNen344 commented 1 year ago

Thanks for allowing to run GitHub Actions, I will fix lint indicates

RyuNen344 commented 1 year ago

I fixed issues.

RyuNen344 commented 1 year ago
/home/runner/work/LicensePlist/LicensePlist/Sources/LicensePlistCore/Entity/Manual.swift:45:1: error: Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
/home/runner/work/LicensePlist/LicensePlist/Sources/LicensePlistCore/Entity/Manual.swift:50:1: error: Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)
/home/runner/work/LicensePlist/LicensePlist/Sources/LicensePlistCore/Entity/Manual.swift:55:1: error: Trailing Whitespace Violation: Lines should not have trailing whitespace. (trailing_whitespace)

sorry, I will refix..... 😢

RyuNen344 commented 1 year ago

I fixed lint error, Could you approve to run GitHub Actions?

mono0926 commented 1 year ago

@RyuNen344

Thanks, released 👍 https://github.com/mono0926/LicensePlist/releases/tag/3.24.10