2014-12-27 20:27:25 +00:00
|
|
|
class Whereami < Formula
|
|
|
|
homepage "http://victor.github.io/whereami/"
|
|
|
|
url "https://github.com/victor/whereami/archive/v1.0.tar.gz"
|
|
|
|
sha1 "2f81e4b05af5f6806590d7212c0dbfbea00a75e0"
|
2014-12-30 14:17:39 +00:00
|
|
|
head "https://github.com/victor/whereami.git", :branch => "swift"
|
2014-12-27 20:27:25 +00:00
|
|
|
|
2014-12-28 17:54:24 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
|
|
|
sha1 "f1b35d4c5180a303169d0ba251daf39375c20065" => :yosemite
|
|
|
|
end
|
|
|
|
|
2014-12-27 20:27:25 +00:00
|
|
|
depends_on :xcode => ["6.1.1", :build]
|
|
|
|
depends_on :macos => :yosemite
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "xcodebuild", "install", "DSTROOT=#{prefix}", "INSTALL_PATH=/bin"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
system "whereami", "--version"
|
|
|
|
end
|
|
|
|
end
|