rswift 4.0.0
require >= Xcode 9 pass --disable-sandbox to swift build Closes #18829. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
de50a5eaec
commit
55378db977
1 changed files with 5 additions and 5 deletions
|
@ -2,8 +2,8 @@ class Rswift < Formula
|
|||
desc "Get strong typed, autocompleted resources like images, fonts and segues"
|
||||
homepage "https://github.com/mac-cain13/R.swift"
|
||||
url "https://github.com/mac-cain13/R.swift.git",
|
||||
:tag => "v3.3.0",
|
||||
:revision => "d341d73f6009553717d5a0e8d813c21dc9f11e31"
|
||||
:tag => "v4.0.0",
|
||||
:revision => "0306ec185ad0f7753e9ea44fefdbf268d9e62184"
|
||||
|
||||
bottle do
|
||||
cellar :any_skip_relocation
|
||||
|
@ -11,11 +11,11 @@ class Rswift < Formula
|
|||
sha256 "79999cf741147dc10697f8354a14a43d060d0ac6ba352e7887b685ac8ca90c79" => :el_capitan
|
||||
end
|
||||
|
||||
depends_on :xcode => "8.0"
|
||||
depends_on :xcode => "9.0"
|
||||
|
||||
def install
|
||||
ENV["CC"] = which(ENV.cc)
|
||||
system "swift", "build", "-c", "release", "-Xswiftc", "-static-stdlib"
|
||||
system "swift", "build", "--disable-sandbox", "-c", "release", "-Xswiftc",
|
||||
"-static-stdlib"
|
||||
bin.install ".build/release/rswift"
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue