vintage
vintage copied to clipboard
[UNMAINTED] command-line tool to check for outdated Swift Package Manager dependencies
vintage
UNMAINTAINED
vintage is a small command-line tool to check outdated Swift Package Manager dependencies.
📦 pseudo swift package outdated command.
Think pod outdated or carthage outdated, but for Swift Package Manager.

Usage
Without any specifications (have to be executed in the directory where Swift Package Manager manifest file (Package.swift) is located):
$ vintage
Specifies path of Swift Package Manager directory to update:
$ vintage -p path/to/dependencies
Help page:
$ vintage --help
USAGE: vintage [--path <path>]
OPTIONS:
-p, --path <path> Path to the folder contains Swift Package manifest file (Package.swift). (default: .)
-h, --help Show help information.
Installation
"A package manager that installs prebuilt Swift command line tool packages, or Homebrew for Swift packages."
$ swift brew install vinhnx/vintage
$ brew tap vinhnx/homebrew-formulae
$ brew install vinhnx/formulae/vintage
to upgrade existing vintage executable
$ brew upgrade vinhnx/formulae/vintage
or
$ brew install vinhnx/homebrew-formulae/vintage
$ mint install vinhnx/vintage
$ marathon install vinhnx/vintage
Make
$ git clone https://github.com/vinhnx/vintage.git
$ cd vintage
$ make
Swift Package Manager
$ git clone https://github.com/vinhnx/vintage.git
$ cd vintage
$ swift build -c release
$ cp -f .build/release/vintage /usr/local/bin/vintage
Related projects
If you like this tool, checkout my spawn, it's a tool to generate and/or update Swift packages and open a Xcode project for you.
Combo:
$ vintage && spawn # vintage: check for any outdated packages, spawn: update packages then open an generated Xcode project for you

I hope you like it! :)
Dependencies
Reference
- Swift Package Manager usage document
- git ls-remote
- carthage outdated
- I was heavily inspired by these awesome talks:
swift-outdated
Check out https://github.com/kiliankoe/swift-outdated for similiar approach to checking outdated depedencies.
Help, feedback or suggestions?
Feel free to contact me on Twitter for discussions, news & announcements & other projects. Thank you! :rocket: