chrome-cli 1.5.0 (new formula)

This commit is contained in:
x0l 2014-02-28 02:43:00 +01:00 committed by Mike McQuaid
parent 66520226ce
commit 9a656d9181

21
Formula/chrome-cli.rb Normal file
View file

@ -0,0 +1,21 @@
require "formula"
class ChromeCli < Formula
homepage "https://github.com/prasmussen/chrome-cli"
url "https://github.com/prasmussen/chrome-cli/archive/1.5.0.tar.gz"
sha1 "aab28c1dfafd6a54f4de757b390bdb2b6ab0c522"
head "https://github.com/prasmussen/chrome-cli.git"
depends_on :xcode
depends_on :macos => :mountain_lion
def install
xcodebuild "SDKROOT=", "SYMROOT=build"
bin.install 'build/Release/chrome-cli'
end
test do
system "#{bin}/chrome-cli", 'version'
end
end