swift: fix component order

This commit is contained in:
commitay 2018-09-21 14:49:07 +10:00
parent eef7ffba23
commit 717456007c

View file

@ -18,6 +18,13 @@ class Swift < Formula
# https://github.com/apple/swift#system-requirements
depends_on :xcode => ["9.3", :build]
# According to the official llvm readme, GCC 4.7+ is required
fails_with :gcc_4_0
fails_with :gcc
("4.3".."4.6").each do |n|
fails_with :gcc => n
end
# This formula is expected to have broken/missing linkage to
# both UIKit.framework and AssetsLibrary.framework. This is
# simply due to the nature of Swift's SDK Overlays.
@ -51,13 +58,6 @@ class Swift < Formula
sha256 "7b655c994c092bf88245775e77d4c4d39f6d880cab59b67d2290df02505ed355"
end
# According to the official llvm readme, GCC 4.7+ is required
fails_with :gcc_4_0
fails_with :gcc
("4.3".."4.6").each do |n|
fails_with :gcc => n
end
def install
workspace = buildpath.parent
build = workspace/"build"