swiftgen: fix Xcode dependency (#7764)

Xcode 8 dependency was always only needed for building SwiftGen from source, not for running it.
See #7763
This commit is contained in:
AliSoftware 2016-12-11 13:59:38 +01:00 committed by Mike McQuaid
parent 11fdec9325
commit 5181a05542

View file

@ -11,7 +11,7 @@ class Swiftgen < Formula
sha256 "90c013628201d4a6a3bd9bbd139012978b4e4520b5d11b84aedde10d3395223f" => :el_capitan
end
depends_on :xcode => "8.0"
depends_on :xcode => ["8.0", :build]
def install
rake "install[#{bin},#{lib},#{pkgshare}/templates]"