Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

rswift 1.1.1 (new formula) #48357

Closed
wants to merge 6 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions Library/Formula/rswift.rb
@@ -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"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please leave an empty line between the :revision and first depends_on, Thanks!


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