aboutsummaryrefslogtreecommitdiff
path: root/Scripts/install_swiftlint.sh
blob: 4b8299d437cc18e8a02b56405506d3b02f48025f (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

# Installs SwiftLint from source (Intended to be used with
# swift docker image)

set -e

git clone https://github.com/realm/SwiftLint.git /tmp/SwiftLint &&
cd /tmp/SwiftLint &&
git submodule update --init --recursive &&
make install