rswift 1.1.1 (new formula)
Closes Homebrew/homebrew#48357. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
This commit is contained in:
parent
1a01cf36ab
commit
c6c953e3b7
1 changed files with 18 additions and 0 deletions
18
Formula/rswift.rb
Normal file
18
Formula/rswift.rb
Normal 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
|
Loading…
Reference in a new issue