rswift 1.1.1 (new formula)

Closes Homebrew/homebrew#48357.

Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
Tomas Harkema 2016-01-22 11:37:46 +01:00 committed by Baptiste Fontaine
parent 1a01cf36ab
commit c6c953e3b7

18
Formula/rswift.rb Normal file
View file

@ -0,0 +1,18 @@
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 => "v1.1.1",
:revision => "3a6db62164d8f50ccdf43e59894fffb672fd5e3f"
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