Created
April 2, 2018 09:50
-
-
Save luismachado/9ccbe097508678f622aae4d14d3efe37 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
curl -L --output SwiftLint.pkg --url http://github.com$(curl -s -L https://github.com/realm/SwiftLint/releases/latest | egrep -o '/realm/SwiftLint/releases/download/[0-9.]*/SwiftLint.pkg') | |
sudo installer -pkg SwiftLint.pkg -target / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment