Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/broadwaylamb/swiftsnapshotdownloader
A simple command line tool that fetches the latest development snapshot of the Swift language and installs it on your Mac.
https://github.com/broadwaylamb/swiftsnapshotdownloader
Last synced: 21 days ago
JSON representation
A simple command line tool that fetches the latest development snapshot of the Swift language and installs it on your Mac.
- Host: GitHub
- URL: https://github.com/broadwaylamb/swiftsnapshotdownloader
- Owner: broadwaylamb
- Created: 2017-01-19T22:59:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-16T15:22:06.000Z (over 7 years ago)
- Last Synced: 2024-10-16T06:44:33.148Z (2 months ago)
- Language: Swift
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SwiftSnapshotDownloader
A simple command line tool that fetches the latest development snapshot of the Swift language and installs it on your Mac.## Installation
You can download a binary from [here](https://github.com/broadwaylamb/SwiftSnapshotDownloader/releases), or you can build the tool
from source. Like this:
```
$ git clone https://github.com/broadwaylamb/SwiftSnapshotDownloader.git
$ cd SwiftSnapshotDownloader
$ swift build -c release -Xswiftc -static-stdlib
$ cd .build/release
$ cp -f SwiftSnapshotDownloader /usr/local/bin/ssd
```## What does it do?
The tool parses [swift.org](https://swift.org), finds the latest dev snapshot and downloads it to the current directory, then installs it (you may need the root access) and deletes the downloaded file.If you run the tool with the `--keep-downloaded-file` option, the downloaded file will not be deleted after installation.
If at the moment of launching the tool a file with the same name as the lastest dev shapshot is present, no downloading will be performed, but that file will be used to install the new toolchain.