aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorx0l2014-02-28 02:43:00 +0100
committerMike McQuaid2014-04-08 08:58:55 +0100
commitdf5e684d7f71cc91da21b5b2f7e91fd6a92fe98d (patch)
tree3e050ff9dfddc52f453db29a15565bc395bfc923
parent973e608ede9ed9d23c30b3232a5c2cc18d5cf7cf (diff)
downloadhomebrew-df5e684d7f71cc91da21b5b2f7e91fd6a92fe98d.tar.bz2
chrome-cli 1.5.0 (new formula)
-rw-r--r--Library/Formula/chrome-cli.rb21
1 files changed, 21 insertions, 0 deletions
diff --git a/Library/Formula/chrome-cli.rb b/Library/Formula/chrome-cli.rb
new file mode 100644
index 000000000..70c354422
--- /dev/null
+++ b/Library/Formula/chrome-cli.rb
@@ -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