marinofelipe / swift-package-info

Swift CLI tool that provides information about a Swift Package
MIT License
76 stars 7 forks source link

Support different formats of report - e.g. JSON #3

Closed marinofelipe closed 3 years ago

marinofelipe commented 3 years ago
marinofelipe commented 3 years ago

Hey @Sherlouk, jsonDump report format was added, which should help on running swift-package-info on CI/CD workflows. It's available on latest release https://github.com/marinofelipe/swift-package-info/releases/tag/1.2.0 :).

Letting you know case I remember you said you would be interested on it when we were talking about #10 . I was thinking about supporting also a strategy for saving the json report into a file, but I decided to not do it now, since I expect json as a dump output would be a good fit for scripts, lanes, etc.