swiftgen: add Ruby build dependency for <= Sierra

This commit is contained in:
Dominyk Tiller 2018-09-02 21:32:05 +01:00
parent 41fc049327
commit 8c7f46e737
No known key found for this signature in database
GPG key ID: FE19AEFCF658C6F6

View file

@ -13,6 +13,7 @@ class Swiftgen < Formula
end
depends_on :xcode => ["9.2", :build]
depends_on "ruby" => :build if MacOS.version <= :sierra
def install
# Disable swiftlint build phase to avoid build errors if versions mismatch