2016-01-22 10:37:46 +00:00
|
|
|
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",
|
2016-02-19 08:04:05 +00:00
|
|
|
:tag => "v1.3.0",
|
|
|
|
:revision => "c7b9104364315f9dfa0997feff5bc471c45aa5ec"
|
2016-01-22 10:37:46 +00:00
|
|
|
|
2016-02-10 13:46:51 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any_skip_relocation
|
|
|
|
sha256 "1b5b2447a89b3c7742fd3914bac7c94183c57702812a2a37db1310568d245c23" => :el_capitan
|
|
|
|
sha256 "41210a939f034cf865000ac58cd2161951f035df6226123d3b597130a0522b87" => :yosemite
|
|
|
|
end
|
|
|
|
|
2016-01-22 10:37:46 +00:00
|
|
|
depends_on :xcode => "7.0"
|
|
|
|
|
|
|
|
def install
|
|
|
|
xcodebuild "-configuration", "Release", "-scheme", "rswift", "SYMROOT=symroot", "OBJROOT=objroot"
|
|
|
|
bin.install "symroot/Release/rswift"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "#{bin}/rswift", "-h"
|
|
|
|
end
|
|
|
|
end
|