homebrew-core/Formula/rswift.rb

25 lines
771 B
Ruby
Raw Normal View History

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 => "v2.3.0",
:revision => "d49c00dfe93066d5ab61ab7ae92965857c98d60f"
2016-02-10 13:46:51 +00:00
bottle do
cellar :any_skip_relocation
2016-06-16 11:25:16 +00:00
sha256 "744d149e4b56e1678f81c1dd566a5bd6dbe98fe38f8b38e4e617779215365f4d" => :el_capitan
sha256 "77bfe21d31b824a7d61ab66f65a9678e69dc22a1cd590156a019d3f313491a8d" => :yosemite
2016-02-10 13:46:51 +00:00
end
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