Skip to content

Support local packages

Compare
Choose a tag to compare
@marinofelipe marinofelipe released this 09 Mar 18:15
· 59 commits to main since this release
d9bd138

Swift Package Info was extended to support analyzing local packages.

"Breaking change"

The <repository-url> parameter was renamed to <url>, with previous naming variations supported, and newly added path and local-path.

Usage

Similar for both remote and local packages, where the user can input either a valid remote Git repository or a local directory path containing a Package.swift, via the url parameter:

// remote
swift run swift-package-info --for https://github.com/ReactiveX/RxSwift

// local - with relative path
swift run swift-package-info --for ../RxSwift

Solves #10.