diff options
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/chrome-cli.rb | 21 |
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 |
